xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
Re: [XOM-interest] Query: Any way to determine ordering of twonodes?
- From: Mike Colbert <mbcolbert AT yahoo.com>
- To: Michael Kay <mike AT saxonica.com>, xom-interest AT lists.ibiblio.org
- Subject: Re: [XOM-interest] Query: Any way to determine ordering of twonodes?
- Date: Wed, 15 Mar 2006 07:07:32 -0800 (PST)
Ah, of course. I haven't personally tried doing a parent.indexOf (attribute)
and the javadoc doesn't really get into what happens in that case. I presume
its stable and repeatable, but I would verify that before betting on it. In
any case, good thinking. I'm sure there are other special cases I haven't
thought of. Interesting problem, though.
Mike
----- Original Message ----
From: Michael Kay <mike AT saxonica.com>
To: Mike Colbert <mbcolbert AT yahoo.com>; xom-interest AT lists.ibiblio.org
Sent: Wednesday, March 15, 2006 9:03:08 AM
Subject: RE: [XOM-interest] Query: Any way to determine ordering of twonodes?
Attribute nodes don't have an intrinsic ordering: you have to invent an
arbitrary ordering and make sure it's applied consistently.
Namespace nodes often have only a transient physical existence since most
models store namespace declarations rather than namespace nodes; but you
still need to devise a stable and repeatable ordering.
Michael Kay
http://www.saxonica.com/
-
Re: [XOM-interest] Query: Any way to determine ordering of twonodes?,
Mike Colbert, 03/15/2006
-
Re: [XOM-interest] Query: Any way to determine ordering of twonodes?,
Michael Kay, 03/15/2006
- Re: [XOM-interest] Query: Any way to determine ordering of twonodes?, Gregory Garretson, 03/15/2006
- <Possible follow-up(s)>
-
Re: [XOM-interest] Query: Any way to determine ordering of twonodes?,
Mike Colbert, 03/15/2006
-
[XOM-interest] Attributes, ParentNodes, and "child" nodes ...,
Mike Colbert, 03/15/2006
-
Re: [XOM-interest] Attributes, ParentNodes, and "child" nodes ...,
John Cowan, 03/15/2006
-
Re: [XOM-interest] Attributes, ParentNodes, and "child" nodes ...,
Mike Colbert, 03/15/2006
-
Re: [XOM-interest] Attributes, ParentNodes, and "child" nodes ...,
John Cowan, 03/15/2006
- Re: [XOM-interest] Attributes, ParentNodes, and "child" nodes ..., Mike Colbert, 03/15/2006
-
Re: [XOM-interest] Attributes, ParentNodes, and "child" nodes ...,
Tatu Saloranta, 03/15/2006
-
Re: [XOM-interest] Attributes, ParentNodes, and "child" nodes ...,
Mike Colbert, 03/15/2006
- Re: [XOM-interest] Attributes, ParentNodes, and "child" nodes ..., Wolfgang Hoschek, 03/15/2006
- Re: [XOM-interest] Attributes, ParentNodes, and "child" nodes ..., John Cowan, 03/16/2006
- Re: [XOM-interest] Attributes, ParentNodes, and "child" nodes ..., Mike Colbert, 03/16/2006
-
Re: [XOM-interest] Attributes, ParentNodes, and "child" nodes ...,
Mike Colbert, 03/15/2006
-
Re: [XOM-interest] Attributes, ParentNodes, and "child" nodes ...,
John Cowan, 03/15/2006
-
Re: [XOM-interest] Attributes, ParentNodes, and "child" nodes ...,
Mike Colbert, 03/15/2006
-
Re: [XOM-interest] Attributes, ParentNodes, and "child" nodes ...,
John Cowan, 03/15/2006
-
[XOM-interest] Attributes, ParentNodes, and "child" nodes ...,
Mike Colbert, 03/15/2006
-
Re: [XOM-interest] Query: Any way to determine ordering of twonodes?,
Michael Kay, 03/15/2006
Archive powered by MHonArc 2.6.24.