This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Creating a node from a variable
- From: Jörg Heinicke <joerg dot heinicke at gmx dot de>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Mon, 03 Dec 2001 17:27:13 +0100
- Subject: Re: [xsl] Creating a node from a variable
- References: <3C0BA514.4020406@umbrars.com>
- Reply-to: xsl-list at lists dot mulberrytech dot com
Alessio Mazzieri wrote:
> 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:element name="{$nodename}"/>
Regards,
Joerg
--
System Development
VIRBUS AG
Fon +49(0)341-979-7411
Fax +49(0)341-979-7409
joerg.heinicke@virbus.de
www.virbus.de
News:
Cocoon-Premiere - Virbus AG setzt bei ShoppingMall-Plattform "Lofex"
auf neueste XML-basierende Technologie
http://www.virbus.de/de/press/pressemitteilung/20011123_lofex/index.html
http://www.lofex.de
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list