[xsl] Attribute as a Variable

Subject: [xsl] Attribute as a Variable
From: "Suvarna Gadgil" <suvarna@xxxxxxxxxxx>
Date: 11 Oct 2002 20:47:53 GMT
 I dont know the attribute name beforehand but is avaiable as a variable $currAttr.

I tried something like this 
<xsl:value-of select="$currNode/attribute[$currAttr]"/>
but does not work.

What is the right way to do this in XSL.

-thanks for the help.

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Current Thread