Re: [xsl] match nodes based on given path

Subject: Re: [xsl] match nodes based on given path
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 10 Apr 2003 17:46:57 +0100

 with the main issue being 'is the the <node> Im matching
 '/root/foo/node' or is it some other <node>'. 

Yes the way to do that though is not to try to generate the (a) path to
the current node and strimg compare that to teh path, the idea should be
to evaluate the path and see if the current node is in the returned set
using one of the standard techniques of checking whetehr a node is in a
node set, generate-id as I did before or
count(.|$z)=count($z)

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