Subject: RE: grabbing the path to a particular node
From: Richard Lander <rlander@xxxxxxxxxxxxx>
Date: Mon, 7 Aug 2000 16:49:10 -0700
|
Afternoon,
I'm actually building the template now. Unless I've missed an easier design,
one basically has to walk the tree up to the root node, to grab the location
path. At that point, the location path is in reverse, so one must write
another recursive template to switch the order. That's the part I'm doing
now, as the first part was pretty easy.
Over and out,
Rich
-----Original Message-----
From: David_Marston@xxxxxxxxx [mailto:David_Marston@xxxxxxxxx]
Sent: Monday, August 07, 2000 3:17 PM
To: xsl-list@xxxxxxxxxxxxxxxx
Subject: Re: grabbing the path to a particular node
Richard Lander asks:
>Is there a way to grab the path to a particular node (ie.
>/topnode/..../thisnode), or do I have to do it through a
>recursive template?
Recursive template (if you want to use generic XSLT).
This should be well documented in the FAQ.
.................David Marston
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|