xsl-list
[Top] [All Lists]

RE: repeating XML data in output

2003-12-04 10:10:34
Hi,

I am having a problem with another XSL stylesheet.  I want to 
output a data element from my XML file as a hyperlink so that 
when the suer clicks on it the value is passed as part of the 
querrystring.  I tried the following:

<td><A href='javascript:ShowCCF(<xsl:value-of 
select="CcfNumber"/>)'><xsl:value-of 
select="CcfNumber"/></A><xsl:text>&#xA0;</xsl:text></td>

but of course that does not work.  Could someone please key 
me in to the right syntax for this?  I know this must be a 
very simple problem, but I couldn't find any examples of how 
to do it on the web.  Thanx.

In the spec, <http://www.w3.org/TR/xslt#attribute-value-templates>

Cheers,

Jarno

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



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