This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
FW: Path Reversal
- From: "Alek Andreev" <alek at post dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Mon, 28 Jan 2002 16:17:39 +0200
- Subject: [xsl] FW: Path Reversal
- Reply-to: xsl-list at lists dot mulberrytech dot com
Hi!
Suppose I have the following piece of XML:
<node name="funstuff">
<node name="jokes">
<node name="veryfunnyjoke"/>
</node>
</node>
I have a path (as a string) which is composed of the @names of the
nodes. It looks like /funstuff/jokes/veryfunnyjoke. How can I write a
template (or an EXSLT function) that returns the node the path points to
(e.g. veryfunnyjoke)?
Regards,
Alek Andreev
alek@post.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list