xsl-list
[Top] [All Lists]

RE: Outer Loop and Inner Loop

2003-05-02 09:25:28
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(_dot_)H(_dot_)Kay(_at_)ntlworld(_dot_)com
work: Michael(_dot_)Kay(_at_)softwareag(_dot_)com 


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>