So, here's what I did.
- Create two new binding parameters
<ParameterBinding Name="url_PATH_INFO" Location="ServerVariable(PATH_INFO)" DefaultValue=""/>
<ParameterBinding Name="url_HTTP_HOST" Location="ServerVariable(HTTP_HOST)" DefaultValue=""/>
- After the start of the <xsl:stylesheet> tag, create matching xsl parameters.
<xsl:param name="url_PATH_INFO" />
<xsl:param name="url_HTTP_HOST" /> - Finally, create an <xsl:variable> concating the parameters togeter.
<xsl:variable name="CurrentPageUrl" select="concat('http://',$url_HTTP_HOST,$url_PATH_INFO)" />
No comments:
Post a Comment