[Home] [By Thread] [By Date] [Recent Entries]

Subject: RE: 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
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member