xsl-list
[Top] [All Lists]

[xsl] XPath2.0: Attribute ordering along an ancestor axis

2006-11-24 05:54:11
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:

ancestor-or-self::*/@foo

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.



John Lumley                
Hewlett-Packard Laboratories 
Bristol

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>