[xsl] QName from variable

Subject: [xsl] QName from variable
From: Norbert Heidbrink <nh@xxxxxxxx>
Date: Mon, 25 Apr 2005 19:30:54 +0200
Hallo folks,

is there a way to let the XSLT compute the name of a new element?
(I am afraid, there is not, but I would like to go sure.)


I am looking for something like

=====
<xsl:variable name="nodename">
  ... any computation that yields the name of a new element ...
</xsl:variable>

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


Any suggestions?
Thanks in advance and best regards,
Norbert

Current Thread