Re: [xml-dev] XML Schema newbie - are multiple unordered children occurrences possible?

From
<>
To
Amelia A Lewis <>
Date
2003-12-02T18:32:47Z
ID
<>
Thread
Re: [xml-dev] XML Schema newbie - are multiple unordered children occurrences possible?
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                              
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