[Home] [By Thread] [By Date] [Recent Entries]
Do you mean why use xsd:sequence instead of xsd:all or xsd:any? There are some constraints that you can express (in XML Schema) in sequences that you can't express in the unordered lists, such as certain mixings of required and optional elements. That's why the <title/> element of XHTML is required to be first under <head/> -- it's required, and the remaining elements are optional. -----Original Message----- From: Baisak, Ranjan [mailto:ranjan_baisak@m...] Sent: Tuesday, May 03, 2005 2:24 AM To: xml-dev@l... Subject: <xsd:sequence>: whats the advantage? Is there any advantage of using <xsd:sequence> in schema except ordering of elements? regards, -Ranjan
|

Cart



