[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
RE: [xsl] Outer Loop and Inner Loop
Subject: RE: [xsl] Outer Loop and Inner Loop
From: "Passin, Tom" <tpassin@xxxxxxxxxxxx>
Date: Fri, 2 May 2003 12:27:15 -0400
|
[Karl J. Stubsjoen]
>
> It comes down to this:
> What is the xpath expression for looking up an attributes
> value if the name
> value of the attribute you need to lookup is in a variable?
> So something
> like this:
>
> <xsl:value-of select="[@ = '$some_variable']"/>
>
> Does that work?
>
It would be faster to try it than to ask. In this case, what you want is
<xsl:value-of select="[@ = $some_variable]"/>
(assuming, of course, that the variable really evaluates to the string
that you want).
Cheers,
Tom P
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|
Passin, Tom - Fri, 2 May 2003 12:27:15 -0400 <=
Passin, Tom - Fri, 2 May 2003 18:07:36 -0400
|
|