This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: grabbing the path to a particular node
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: grabbing the path to a particular node
- From: Richard Lander <rlander at microsoft dot com>
- Date: Mon, 7 Aug 2000 16:49:10 -0700
- Reply-To: xsl-list at mulberrytech dot com
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@lotus.com [mailto:David_Marston@lotus.com]
Sent: Monday, August 07, 2000 3:17 PM
To: xsl-list@mulberrytech.com
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