xsl server variable URL returns null. I tried all the other server variable and they all returns nulls.
Is there anything I need to do (like in IIS or web.config) in order for xsl to show server variables? (i am working on webpart in sharepoint).
<ParameterBinding Name="URL" Location="ServerVariable(URL)" DefaultValue=""/>
开发者_高级运维<xsl:param name="$URL"/>
Your XSL parameter should be declared with the name "URL", not "$URL":
<xsl:param name="URL" />
精彩评论