|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: <xsd:sequence>: whats the advantage?
> > 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








