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] (newbie) DTD question

[ Lists Home | Date Index | Thread Index ]

In article <20020712203244.80880.qmail@web21410.mail.yahoo.com> you write:

>This is very interesting.  An XML document is valid if
>and only if there's a DTD that it follows, so it seems
>then that the limitations of the DTD end up
>constraining the XML document:  Tags, if reused in
>different contexts (people, pets) in a valid XML
>document, must have the same subelements and
>attributes.

No, you just can't have a very precise DTD in that case.  You could
just use:

 <!ELEMENT name ANY>

-- Richard




 

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

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