|
Subject: RE: Variable value and functions From: Kay Michael <Michael.Kay@xxxxxxx> Date: Tue, 18 Jul 2000 16:01:53 +0100 |
> 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
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| RE: MSXML3, Julian Reschke | Thread | parsing to HTML, Ben C. |
| Variable value and functions, Emmanuel Pietriga | Date | RE: generating text from an attribu, Foster, Justin (IT_A |
| Month |