You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xalan.apache.org by Joseph Shraibman <jk...@selectacast.net> on 2004/03/12 22:07:53 UTC

xsl question: escaping urls

I have xsl that looks like this:

<a>
<xsl:attribute name="href">my.jsp?uk=<xsl:value-of select="./uk" 
/>&amp;un=<xsl:value-of select="./un" /></xsl:attribute>
<xsl:value-of select="./un" />
</a>

Is there any way in xsl to escape the values of uk and un?  i.e replace 
spaces with '+' and '+' with %2B