|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Attribute as a Variable
You might try something like this ... @*[name() = $currAttr] Note: I didn't test this ... Rich -----Original Message----- From: Suvarna Gadgil [mailto:suvarna@xxxxxxxxxxx] Sent: Friday, October 11, 2002 1:48 PM To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx 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 XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








