相关疑难解决方法(0)

XSLT版本1 URL编码

XSLT版本1中是否有URL编码功能?我在javascript中需要类似于encodeURIComponent函数的东西吗?

因为我正在使用.NET平台,因为XSLT应用于Sharepoint页面,因此这是不可能的.有没有办法对此购买进行编码,在下面的XML片段中调用javascript encode函数:

<xsl:template name="BuildLink">
    <xsl:param name="PrimarySubject" />
    <xsl:text>?PrimarySubject=</xsl:text>
    <xsl:value-of select="$PrimarySubject" />
</xsl:template>
Run Code Online (Sandbox Code Playgroud)

谢谢,

xslt urlencode

14
推荐指数
2
解决办法
2万
查看次数

标签 统计

urlencode ×1

xslt ×1