> > Is there any advantage of using <xsd:sequence> in schema
> > except ordering
> > of elements?
>
> This is a bit like asking whether there is any advantage in using
for-loops
> in Java, except to do iteration.
>
> Michael Kay
> http://www.saxonica.com/
>
I think he was trying to compare sequence vs. the other two constructs, the
pros/cons of the different constructs. To answer his question, that is the
point of xsd:sequence nodes, the enforcement of ordering. It's also the
typical default construct used for elements, since xsd:choice nodes or for,
well, choosing between one node of the group and xsd:all nodes have other
restrictions that most people have a hard time working around.
Bryce K. Nielsen
SysOnyx, Inc. (www.sysonyx.com)
Read the Genesis of xmlHack, the Simple XML Editor
http://www.sysonyx.com/xml-editor