Next / Previous / Contents / Shipman's homepage

14.1. The exsl:document extension

With stock XSLT, all output goes to one place: the output document. However, an organization called EXSLT has published an extension element that allows you to sent output to other files. See the EXSLT homepage for more information.

Here is an example of an xsl:stylesheet element that includes the attributes necessary to use the exsl:document extension:

    <xsl:stylesheet version="1.0"

Once you have done this, in order to write some content to a file named F, embed that content in an element that looks like this:

    <exsl:document href="F">