开发者

xsl server variable returns null

开发者 https://www.devze.com 2023-01-06 22:47 出处:网络
xsl server variable URL returns null. I tried all the other server variable and they all returns nulls.

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

精彩评论

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