Oxygen XML Editor
 
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] ancestor axis ordering (again...)


Subject: RE: [xsl] ancestor axis ordering (again...)
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Mon, 27 Feb 2006 13:49:09 -0000

> 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/


Current Thread
 
© 2002-2008 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy
This website was created & generated with <oXygen/> XML Editor
Keywords