Subject: FW: Path Reversal
From: "Alek Andreev" <alek@xxxxxxxx>
Date: Mon, 28 Jan 2002 16:17:39 +0200
|
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@xxxxxxxx
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|