Endre,
use attribute-value template ..
<element name="{/element/element.name}"/>
----- Original Message -----
From: "Endre, MAGYARI" <endre(_at_)nextra(_dot_)ro>
To: <xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>
Sent: Thursday, November 21, 2002 7:53 AM
Subject: [xsl] Element value
Dear List,
I need to tranform an element value to an attribute value:
input:
<element>
<element.name>hello</element.name>
</element>
output:
<element name="hello"/>
I have no idea ho to refer the element's value in an xsl:template
Thank you,
Endre
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list