xsl-list
[Top] [All Lists]

Re: XPATH restricting preceding nodes

2003-09-10 02:17:27

ancester and descendent are rather expensive: essentially between the two
of them you are always searching the whole document.  You want
parent:: and child:: here (or more simply ../ and nothing as child:: is
the default axis)

this is a grouping problem and as usual can be optimised using keys,
(see jeni's site) but get it working before trying to optimise.

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

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



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