XML output format

An XSLT processor can be explicitly told that the transformation is to another XML document. Except in one special case, this is assumed in any case. But to be certain that output will be interpreted in this way, the Output element may be used. This element is a top-level element and so is directly placed within the Stylesheet element. The Method attribute contains the value 'xml'.

<output
					method="xml" />

Get XSL companion, The now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.