The parser maintains child order, but not necessarily attribute order.

--------------------------
Dean Roddey
The Charmed Quark Controller
Charmed Quark Software
[EMAIL PROTECTED]
http://www.charmedquark.com

"If it don't have a control port, don't buy it!"


----- Original Message -----
From: "Leonardo B. Lopes" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 25, 2002 9:13 PM
Subject: Re: Subelements ordering.


> I hope so. For example, the <interval> element in MathML takes two numbers
> (<cn>) as children, and I would assume the lower comes before the
> higher... I think ordering matters in xml. Am I wrong?
>
>
> On Tue, 26 Feb 2002, Renji Panicker wrote:
>
> > Hi,
> > I remember reading somewhere that DOM does not guarantee that the order
in
> > which the children of an element are returned is the same as that in
which
> > it is stored in the XML file.
> >
> > But I have noticed xerces does maintain this order. Is this by design?
Or
> > more to the point, is this behaviour dependable?
> >
> > Thanks,
> > -/renji
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> ========================================================================
> Leonardo B. Lopes                                       [EMAIL PROTECTED]
> Ph.D. Student                                              (847)491-8470
> IEMS - Northwestern University              http://www.iems.nwu.edu/~leo
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to