xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Creating a node from a variable


Subject: Re: [xsl] Creating a node from a variable
From: Jörg Heinicke <joerg.heinicke@xxxxxx>
Date: Mon, 03 Dec 2001 17:27:13 +0100



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@xxxxxxxxx
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




Current Thread
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor