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 UTC