RE: [xsl] Generating new element whose name is not known at the stage of XSL composition

Subject: RE: [xsl] Generating new element whose name is not known at the stage of XSL composition
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Fri, 9 Nov 2001 09:49:15 -0000
> I tried the followings, but failed.
> ...
> <xsl:variable name="elemName" select="@name"/>
> <xsl:element name="$elemName"/>
> ...
> 
You need <xsl:element name="{$elemName}">

Mike Kay

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


Current Thread