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] Help creating DTD

[ Lists Home | Date Index | Thread Index ]

Eric van der Vlist scripsit:

> > Here's a RELAX NG schema:
> > 
> > element ORDER {
> > 	element UID {text},
> > 	element DEALER {text},
> > 	element ORDERS {
> > 		element ITEM {
> > 			attribute id {xsd:ID},
> No, you have the same restriction in W3C XML Schema ID datatype than in
> DTDs and this wouldn't work either!

Yes, I should have said so; I didn't mean to imply that RNG fixes the problem.
Schematron and WXS can make use of arbitrary keys, so should work.

John Cowan          http://www.ccil.org/~cowan        jcowan@reutershealth.com
To say that Bilbo's breath was taken away is no description at all.  There are
no words left to express his staggerment, since Men changed the language that
they learned of elves in the days when all the world was wonderful. --The Hobbit


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

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