|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Entities
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@m... 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.
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








