Back to Content

Index

files/en-us/web/xml/xslt/reference/element/include/index.md

latest572 B
Original Source

The <xsl:include> element merges the contents of one stylesheet with another. Unlike the case of <xsl:import>, the contents of an included stylesheet have exactly the same precedence as the contents of the including stylesheet.

Syntax

xml
<xsl:include href=URI />

Required Attributes

  • href
    • : Specifies the URI of the stylesheet to include.

Optional Attributes

None.

Type

Top-level, may appear in any order as a child of <xsl:stylesheet> or <xsl:transform>.

Specifications

XSLT, section 2.6.1.

Gecko support

Supported.