See the output below the name contains the apostrophe which breaks the code, how can i use urlencode or something else to fix the issue
Output
'&titel=A&Name=S'Tariq&number=1&ud=1&op=3'
<xsl:text>&titel=</xsl:text>
<xsl:value-of select="osttitle"/>
<xsl:text>&Name=</xsl:text>
<xsl:value-of select="ostName"/>
<xsl:value-of select="NameJS"/>
<xsl:text>&number=</xsl:text>
<xsl:value-of select="ostnumber"/>
<xsl:text>&ud=</xsl:text>
<xsl:value-of select="ostudnumber"/>
<xsl:text>&op=</xsl:text>
<xsl:value-of select="osnumber"/>