Subject: RE: [xsl] Outer Loop and Inner Loop From: "Michael Kay" <mhk@xxxxxxxxx> Date: Fri, 2 May 2003 17:25:28 +0100 |
> 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']"/> > Do try to avoid making random guesses at the syntax, it will take you months to discover the right answer that way. select="@*[name() = $var]" Michael Kay Software AG home: Michael.H.Kay@xxxxxxxxxxxx work: Michael.Kay@xxxxxxxxxxxxxx XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Outer Loop and Inner Loop, Karl J. Stubsjoen | Thread | Re: [xsl] Outer Loop and Inner Loop, Karl J. Stubsjoen |
[xsl] Tomcat serving XSLT confuses , Tim Darling | Date | RE: [xsl] Outer Loop and Inner Loop, Passin, Tom |
Month |