xsl:include

Specifies an XSLT stylesheet that is included in and combined with the stylesheet that specifies xsl:include.

Format

<xsl:include href="stylesheet_path">
               

            

stylesheet_path specifies the stylesheet you want to import. Specify a URL, a relative path, or a DOS-style path.

Description

The xsl:include instruction must be a child of an xsl:stylesheet element. The XSLT processor effectively replaces the xsl:include instruction with the children of the root xsl:stylesheet element of the included stylesheet. If the root element of the included stylesheet is a literal result element, the XSLT processor effectively replaces the xsl:include instruction with the following new element whose only child is that literal result element:

<xsl:template match="/">

A stylesheet cannot include itself directly or indirectly.

Internet & eBusiness

Internet & eBusiness

XML Processing

Learn how to simplify XML Processing using Stylus Studio XML Pipeline, the easiest way to visually design and deploy virtually any XML processing tasks.

Varying Record Layout to XML

Not every row in a text file has to have the same layout. Convert to XML has advanced pattern-recognition tools to route the data to where it belongs.

XML Development Blogs

Blogging is the hottest fad on the Internet and Stylus Studio has jumped on the bandwagon. Bookmark these XML Blogs to keep up with all the latest XML buzz in the internet blogosphere. Includes RSS and Atom Feeds!

Stylus Most Wanted

 
Free Stylus Studio XML Training:
W3C Member