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] XML Schema newbie - are multiple unordered children occurr

[ Lists Home | Date Index | Thread Index ]

Amelia A Lewis scripsit:

> DTD talk, the requirement is (A|B)*

That's compact RNG as well, provided A and B are defined as
A = element A { ... } and B = element B { ... } somewhere and the
ellipses are replaced with the attributes and content model.
Bare names in RNG schemas are always references to definitions;
the names themselves are meaningful only to the schema processor
and the human reader, and have nothing to do with the instance.

> The above yields (A?,B?)

That's RNG as well, with the same caveats.

-- 
John Cowan                              jcowan@reutershealth.com
http://www.reutershealth.com            http://www.ccil.org/~cowan
Humpty Dump Dublin squeaks through his norse
                Humpty Dump Dublin hath a horrible vorse
But for all his kinks English / And his irismanx brogues
                Humpty Dump Dublin's grandada of all rogues.  --Cousin James




 

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

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