[XMLSCHEMA-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: how to guarantee elements order

From: <noah_mendelsohn@us.ibm.com>
Date: Fri, 9 Feb 2007 15:21:24 -0500
To: "Yuri Danielyan" <Yuri.Danielyan@synopsys.com>
Cc: xmlschema-dev@w3.org
Message-ID: <OFCF190798.1D235DD2-ON8525727D.006F91D9-8525727D.006FC2D9@lotus.com>
Re: how to guarantee elements order

In schema 1.0, I believe the answer is: no, you can't do this.

In schema 1.1, presuming the design remains as planned, you can do it 
using assertions [1].

 Noah

[1] http://www.w3.org/TR/xmlschema11-1/#cAssertions

--------------------------------------
Noah Mendelsohn 
IBM Corporation
One Rogers Street
Cambridge, MA 02142
1-617-693-4036
--------------------------------------








"Yuri Danielyan" <Yuri.Danielyan@synopsys.com>
Sent by: xmlschema-dev-request@w3.org
02/09/2007 06:22 AM
 
        To:     <xmlschema-dev@w3.org>
        cc:     (bcc: Noah Mendelsohn/Cambridge/IBM)
        Subject:        how to guarantee elements order



Is there a way to guarantee elements order in the DOM object loaded from 
respective to below text XML fragment.

<Root >
   <Arg>Arg1</Arg>
   <Arg>Arg2</Arg>
   <Arg>Arg3</Arg>
</Root>

Thank you
Yuri
Received on Friday, 9 February 2007 20:20:55 GMT

Subscribe to the Stylus Scoop newsletter for helpful XML tips and tutorials.
Email
First Name
Last Name
Company

Download Stylus Studio 6 XML Enterprise Edition

Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.