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: Gregory Garretson <gregory AT garretson.info>
- To: xom-interest AT lists.ibiblio.org
- Subject: Re: [XOM-interest] Query: Any way to determine ordering of twonodes?
- Date: Wed, 15 Mar 2006 09:32:54 -0500
Thanks Wolfgang, Michael and Mike. Your suggestions are in line with what I was thinking. Luckily, in the app at hand, namespaces aren't an issue, so it shouldn't be too difficult.
Regards,
Gregory
Michael Kay wrote:
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/
-----Original Message-----
From: xom-interest-bounces AT lists.ibiblio.org [mailto:xom-interest-bounces AT lists.ibiblio.org] On Behalf Of Mike Colbert
Sent: 15 March 2006 13:29
To: xom-interest AT lists.ibiblio.org
Subject: Re: [XOM-interest] Query: Any way to determine ordering of twonodes?
Michael Kay wrote:
attribute andI may be oversimplifying, but I think that should basically work without too much overhead.You are oversimplifying (for example you have to consider
namespace nodes), but yes, that's the general structure of the SaxonWhat's special about attribute and namespace nodes that gets in the way here? Just curious.
algorithm which Wolfgang referred to earlier.
Mike
-
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/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.