|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Outer Loop and Inner Loop
[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
|
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








