Re: [xsl] Assigning node values

Subject: Re: [xsl] Assigning node values
From: Frank Psaila <Frank@xxxxxxxxxx>
Date: Mon, 30 Dec 2002 08:35:45 +0100
I have the following code in an XSLT style sheet. A number of occurrences
can be found of the node <bpr> so I need to know which hyperlink was clicked
from the table. The identifier would be the name tag which is a child of the
<bpr> tag. How can I assign the value of node name to the anchor tag of

<xsl:for-each select="//bpr">
	<a href="javascript:loadFrame('Control',
'bpr_control.htm','Error','bpr_error.htm')" name=<xsl:value-of
select="name"/> >
		<td><font color="blue"><xsl:value-of
		<td><xsl:value-of select="command"/></td>
		<td><xsl:value-of select="pid"/></td>

I have tried with xsl:variable but it used the variable name literally
instead of the contents of the variable. The name is a string.


 XSL-List info and archive:

Current Thread