RE: <xsd:sequence>: whats the advantage?
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
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