OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: [xml-dev] Entities

[ 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'>

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.

  • References:
    • Entities
      • From: Kevin.Gutch@mapinfo.com


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS