This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Convert string to a list of nodes
- From: Jeff Beadle <Jbeadle at manh dot com>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Tue, 4 Dec 2001 11:54:55 -0500
- Subject: RE: [xsl] Convert string to a list of nodes
- Reply-to: xsl-list at lists dot mulberrytech dot com
>>Now I only want to know the way to get a node which name I have listed in
string parameter passed to a template. This is the main problem for me now.
you mean like this?
...
<xsl:param name="the-name"/>
<xsl:variable name="the-value">
<xsl:copy-of select="//*[local-name()=$the-name]"/>
</xsl:variable>
...
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list