[XSL-LIST Mailing List Archive Home]
[xsl] XPath2.0: Attribute ordering along an ancestor axis
Subject: [xsl] XPath2.0: Attribute ordering along an ancestor axis|
From: "Lumley, John" <john.lumley@xxxxxx>
Date: Fri, 24 Nov 2006 12:53:49 -0000
I'm fully aware that attributes along the attribute:: axis are
unordered, but is there any partial ordering when they're being
collected off elements discovered along the ancestor:: axis?
We're basically looking at the XPath expression:
and have some inconsistency in the order the (foo) attribute nodes are
being returned. In our case this could be related to differing XML tree
representations we're using or a bug in the implementation, but first I
wanted to check opinion on whether there *should* be any consistency in
the order of the return, that is ordered by distance from the context
node,or its reverse. I can't easily determine this from the spec.