|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re[2]: XSLT variable eval
Hi, David Carlisle, Wednesday, December 1, 2004, 3:54:52 PM: DC><xsl:attribute name="{@as}"><xsl:value-of select="${@name}"/></xsl:attribute> DC> ^^^^^^ - how eval this variable? DC> It isn't a variable just an attribute node. DC> so DC> <xsl:value-of select="@name"/> DC> curly brackets {} are _never_ used in XPath expressions (except as part DC> of a string). perl script: $result = $stylesheet->transform($source, username => "'Andrey'"); in stylesheet: <xsl:param name="username"/> have value = 'Andrey'. in XML: <btr:attribute name="username" as="value"/> username == name of xsl:param, i want to obtain the value of expression: <xsl:value-of select="variable with name in attribute @name".. Thank. -- Best regards, Andrey V. Elsukov
|
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
|






