The <xsl:document> Element: Generating Multiple Result Documents

A common thing to want to do is create multiple result documents during a transformation. For example, you might want to create a report indicating how the transformation went, or split an input document up into multiple result documents (such as splitting a novel into chapters). Or, you might want to create a result document set that is meant to be used together (such as when you create an HTML frameset document) along with two documents to be displayed in the frames.

Creating multiple result documents is such a common thing to do that nearly all XSLT processors enable you to do it, even in XSLT 1.0, where there’s no special support for this task. XSLT processors add new extension ...

Get Inside XSLT now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.