将XSL应用到RSS源
答
您可以使用document函数在样式表中加载外部xml文件。
(评论后可进行编辑)
<xsl:template match="/">
<xsl:apply-templates select="document("myurl.xml")/root" mode="extern"/>
</xsl:template>
<xsl:template match="root" mode="extern">
Hello world
</xsl:template>
你能提供如何使用它来获取一个URL的例子吗? – CLiown 2009-09-30 18:37:17