This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: how to store attribute value?
- From: "Michael Kay" <michael dot h dot kay at ntlworld dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Tue, 6 Aug 2002 17:11:54 +0100
- Subject: RE: [xsl] how to store attribute value?
- Reply-to: xsl-list at lists dot mulberrytech dot com
> <xsl:variable name="test_var" select="<xsl:value-of
> select="@root_attribute"/>"></xsl:variable>
The inventiveness of users on this list never ceases to amaze me. Why
didn't you write
<xsl:variable name="test_var" select="@root_attribute"/>
?
But actually you want
<xsl:variable name="test_var" select="../@root_attribute"/>
Michael Kay
Software AG
home: Michael.H.Kay@ntlworld.com
work: Michael.Kay@softwareag.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list