Subject: grabbing the path to a particular node
From: Richard Lander <rlander@xxxxxxxxxxxxx>
Date: Mon, 7 Aug 2000 10:59:31 -0700
|
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
|