xsl-list
[Top] [All Lists]

putting value inside string

2003-06-03 01:07:00
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



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