|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Re: the nearest ancestor with the attribute
At 01/01/18 07:14 -0800, Dimitre Novatchev wrote:
To bring an even little bit more confusion: It is improper to ask "document order for the attribute axis". Document order is well-defined and does not apply to the attribute and namespace axes. These two axes are arbitrarily ordered in that the implementation can choose to order them any way they wish (even alphabetically!). They are ordered, just not in a Recommendation-defined order. 2. (//* | //@*) What is the "document order for the above node-set? "Document order" is an XPath Recommendation-defined order and is not a relative concept that can be interpreted differently in different situations. In section 5 (second last paragraph) the terms "document order" and "reverse document order" are well-defined and immutable. Location steps for axes other than the attribute and namespace axes are always in proximity order relative to the current node: some are in document order and others are in reverse document order. Note that the term "proximity order" is not defined in XPath, but where "proximity position" is defined (section 2.4) is where both "document order" and "reverse document order" are used regarding the axes. To me "proximity order" covers the bases more succinctly than mentioning both. I hope this helps. ................... Ken
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








