Re: [xsl] XPATH restricting preceding nodes

Subject: Re: [xsl] XPATH restricting preceding nodes
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 10 Sep 2003 10:17:27 +0100
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


Current Thread