Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: how to guarantee elements order

From: "C. M. Sperberg-McQueen" <cmsmcq@---.--->
To: Yuri Danielyan <Yuri.Danielyan@--------.--->
Date: 2/13/2007 6:56:00 AM

On 9 Feb 2007, at 04:22 , Yuri Danielyan wrote:

>
> 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>

I'm not sure what you mean.  What do you wish to guarantee?

Do you wish to guarantee that if the XML takes the form you show,
then the arguments will be in that same order in the DOM?  That's
guaranteed by the DOM.

Do you wish to guarantee that the arguments are in that order
in the DOM, that they will be in that order in the XML when you write
it out?  That's also guaranteed by the DOM.

Or is there some other thing you wish to guarantee?

--C. M. Sperberg-McQueen


From markus.gamperl@g... Wed Feb 14 14:24:38 2007
Receive


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