I have a problem writing my XSL. I have a link with the following code:
If you are using XSLT 1.0, then refer this.
In case of XSLT 2.0, you may use this to solve the issue.
<xsl:value-of select="concat($myUrl,'&projectNumber=',encode-for-uri($projectNumber))"/>