View Single Post
  #1 (permalink)  
Old November 12th, 2009, 08:00 PM
b.preetam b.preetam is offline
Registered User
Join Date: Nov 2009
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Passing xsl variable in hyperlink querystring

I am coding in xsl which will be later transformed to html
I need to pass more than one xsl variable values in hyperlink, i am facing issues while seperating the two variable names with '&'
i tried using & and &, in both case i get & in between of two variables in source view after transforming to html.

code for hyperlink-
<xsl:attribute name='href'><xsl:value-of select="pass1"/>&p2=<xsl:value-of select="pass2"/></xsl:attribute><xsl:value-of select="pass1"/>&p2=<xsl:value-of select="pass2"/>

is there any way to get rid of & in url? Thanks in advance.

Reply With Quote