XSLTSL似乎要求,我们可以使用EXSLT,无需下载它的源:如何在不下载源代码的情况下使用EXSLT?
导入或包括两种主要的样式表,或者你想使用,直接从图书馆网站的样式表模块; http://xsltsl.sourceforge.net/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,无需下载它的来源?
其他已经回答了你的问题,但请注意,如果你可以使用XSLT 2.0,然后的 的伎俩。 –
alexbrn
2011-06-09 08:02:02
@alexbrn heys我已经编辑了这个问题,你能帮助我thx! – Pacerier 2011-06-11 12:54:57