XSLTSL似乎声称我们可以在不下载源代码的情况下使用 EXSLT:
直接从库网站导入或包含主样式表或您希望使用的样式表模块;http://xsltsl.sourceforge.net/modules/。modules 目录总是包含最新的稳定版本。
我试过这个:
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:import href="http://xsltsl.sourceforge.net/modules/string.xsl"/>
<xsl:output method="text" indent="yes"/>
<xsl:template match="/">
<xsl:call-template name="str:to-upper">
<xsl:with-param name="text">hello world</xsl:with-param>
</xsl:call-template>
</xsl:template>
</xsl:stylesheet>
但它不起作用。如果不下载其源代码,我似乎无法使用 EXSLT。
无论如何都可以在不下载源代码的情况下使用 EXSLT 吗?