[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] putting values in string


Subject: [xsl] putting values in string
From: "philips" <philips@xxxxxxxxx>
Date: Tue, 03 Jun 2003 01:17:19 -0700

hi,
i want to create a string like this in my xslt stylesheet
'SaleID=12345&customerID=45'

the value of showID and customerID is taken from the xml
<report>
    <customer>
        <ID>45</ID>
    </customer>
..
..
    <SaleID>12345</SaleID>
..
..
</report>

this string will go as an argument to a javascript function
<a href="javascript:myfunc('Sales','sales=12345&cusromerID=45');"></a>

I tried doing

'sales=<xsl:value-of select="SaleID"/>&amp;customerID=<xsl:value-of 
select="customer/ID"/>'

this is not working...
any help is appreciated

thanks 
phil



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



Current Thread
Keywords