Skip to Content
XSLT and XPATH: A Guide to XML Transformations
book

XSLT and XPATH: A Guide to XML Transformations

by John Robert Gardner, Zarella L. Rendon
July 2001
Intermediate to advanced
592 pages
11h 16m
English
Pearson
Content preview from XSLT and XPATH: A Guide to XML Transformations

10.1. The <xsl:output> Top-Level Element

The <xsl:output> top-level element establishes the type of structure the output will contain (XML, HTML, or text) and provides attributes to select several different output options. It must be a child of the <xsl:stylesheet> or <xsl:transform> document element, and can occur anywhere within the document element, unless the <xsl:import> element is present, in which case it must come after that element. Its ten attributes, shown in the following element model definition, are optional and will be discussed individually in the following sections. This top-level element is always an empty element.

<!-- Category: top-level-element -->

<xsl:output

  method = "xml" | "html" | "text" | qname-but-not-
					ncname version ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Beginning XSLT and XPath: Transforming XML Documents and Data

Beginning XSLT and XPath: Transforming XML Documents and Data

Ian Williams
Java and XSLT

Java and XSLT

Eric M. Burke
Learning XSLT

Learning XSLT

Michael Fitzgerald

Publisher Resources

ISBN: 0130404462Purchase book