Why doesn't XML have Bag?
Paul Prescod
paul at prescod.net
Fri Mar 26 18:25:52 GMT 1999
"Richard L. Goerwitz" wrote:
>
> Leigh Dodds wrote:
>
> > Isn't this an unordered list of elements?
> >
> > <!ELEMENT BAG (A?,B?,C?,D?)*>
> > <!ELEMENT BAG (A?,B?,C?,D?)+>
>
> These are equivalent (although the bottom one might be considered
> 'ambiguous' in SGML terms).
Actually, it would not. Any particular content node list can only present
a single path through the content model.
--
Paul Prescod - ISOGEN Consulting Engineer speaking for only himself
http://itrc.uwaterloo.ca/~papresco
"Perpetually obsolescing and thus losing all data and programs every 10
years (the current pattern) is no way to run an information economy or
a civilization." - Stewart Brand, founder of the Whole Earth Catalog
http://www.wired.com/news/news/culture/story/10124.html
xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)
More information about the Xml-dev
mailing list