开发者

xsl server variable returns null

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).

  1. <ParameterBinding Name="URL" Location="ServerVariable(URL)" DefaultValue=""/>
  2. 开发者_高级运维
  3. <xsl:param name="$URL"/>


Your XSL parameter should be declared with the name "URL", not "$URL":

<xsl:param name="URL" />
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜