[xsl] Creating a node from a variable

Subject: [xsl] Creating a node from a variable
From: Alessio Mazzieri <mazzieri@xxxxxxxxxxx>
Date: Mon, 03 Dec 2001 17:15:16 +0100
Hi to all,
is there a method to create a node using the content of an <xsl:variable>?

Something like this (but, unfortunately, not this!)

	<xsl:variable name="nodename">
	  SomeName
	</xsl:variable>

<xsl:element name="$nodename"/>

The desidered output is

<SomeName/>

in the produced document.
Thanks



XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list


Current Thread