[
Lists Home |
Date Index |
Thread Index
]
You can place the entity in the internal subset -- that part of the DTD
which is in the XML document itself. For example:
<!DOCTYPE MyDocType SYSTEM 'mydtd.dtd' [
<!ENTITY FirstName 'Kevin'>
]>
<MyDocType>...</MyDocType>
Of course, the obvious disadvantage of this is that it needs to be
repeated in every XML document, but it's better than nothing.
-- Ron
Kevin.Gutch@mapinfo.com wrote:
>
> I have an existing DTD which I can not really alter at this time. However,
> I would like to include an entity in my DTD. I believe these are usually
> defined within the DTD but this is not really an option right now. Is it
> possible to still include an entity in my XML? The entity would be used
> for repetitive entries into the XML.
|