<xsl:import> - XSLT: Extensible Stylesheet Language Transformations 编辑
XSLT/XPath Reference: XSLT elements, EXSLT functions, XPath functions, XPath axes
The <xsl:import>
element is a top-level element that serves to import the contents of one stylesheet into another stylesheet. Generally speaking, the contents of the imported stylesheet have a lower import precedence than that of the importing stylesheet. This is in contrast to <xsl:include>
where the contents of the included stylesheet have exactly the same precedence as the contents of the including stylesheet.
Syntax
<xsl:import href=URI />
Required Attributes
href
- Specifies the URI of the stylesheet to import.
Optional Attributes
None.
Type
Top-level, must appear before any other child of <xsl:stylesheet>
or <xsl:transform>
in the importing stylesheet.
Defined
XSLT, section 2.6.2.
Gecko support
Mostly supported with a few issues with top level variables and parameters as of Mozilla 1.0.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论