<!--StartFragment--><xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:msxsl="urn:schemas-microsoft-com:xslt"
xmlns:user="whatever">
<msxsl:script implements-prefix="user" language="Javascript">
<![CDATA[
function rp(s,o,n) {
return s.replace(o,n);
}
]]>
</msxsl:script>
<xsl:output method="text" indent="yes"/>
<xsl:template match="/">
<xsl:value-of select="user:rp(string(/),'aaa','sdffsdf')"/>
</xsl:template>
</xsl:stylesheet>
xslt中使用javascript
最新推荐文章于 2020-06-21 11:52:22 发布