Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: how to guarantee elements order

From: noah_mendelsohn@--.---.---
To: "Yuri Danielyan" <Yuri.Danielyan@--------.--->
Date: 2/9/2007 10:21:00 AM
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@s...>
Sent by: xmlschema-dev-request@w...
02/09/2007 06:22 AM
 
        To:     <xmlschema-dev@w...>
        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





From markus.gamperl@g... Mon Feb 12 05:19:55 2007
Received: from wiggum.w3.org ([128.30.52.2


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent