RE: [xsl] repeating XML data in output

Subject: RE: [xsl] repeating XML data in output
From: Jarno.Elovirta@xxxxxxxxx
Date: Thu, 4 Dec 2003 19:10:34 +0200
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


Current Thread