[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Variable value and functions
> I want to get the value of a variable whose name is equal to the value > of the "id" attribute found in the current node. You can't. There is no way in XSLT of constructing XPath expressions (e.g. variable references) at run-time. There's a workaround in Saxon, the saxon:expression() function: <xsl:value-of select="saxon:expression(concat('$', @id))"/> Mike Kay 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
|