xsl-list
[Top] [All Lists]

Fw: reverse and forward order

2003-04-11 07:31:04

From XSLT terminology FAQ at http://www.dpawson.co.uk/xsl/xslvocab.html

"DOCUMENT ORDER:A traversal of the document tree from start to end, in
written order. The ancestor and preceding axes use reverse document order
and the attribute and namespace axes are unordered. If parentheses are
used
for grouping, you will always get forward document order."

Can someone explain/give an example of  "if parentheses are used ..."

Explicit naming of the axes. Instead of
 match="some_childnode"
something like match="child::some_childnode"

Cheers,
Agnes




 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



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