why?
This is one of the more obscure aspects of the XPath specification.
All path expressions deliver their results in document order. But for the
purpose of computing the value of position() within a predicate attached to
an axis step, the nodes are considered to be numbered in "axis order", which
for the ancestor axis is reverse document order.
Michael Kay
http://www.saxonica.com/
--~------------------------------------------------------------------
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>
--~--