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]

grabbing the path to a particular node


 Hello,

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? Either way is fine, but if there is a standard function, I'd like
to use it. I looked through the specs and couldn't find such a function, so
I assume that one doesn't exist.

I know that one can use <xsl:param name="xx" select="."/> to navigate to a
node, but I want the actual string of the path to the node so that I can
pass it to a javascript function to reshape the DOM.

I hope that makes sense,

Rich


 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]