This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: grabbing the path to a particular node


 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]