docs.rodeo

MDN Web Docs mirror

The <xsl:output> element controls the characteristics of the output document. To function correctly in Netscape, this element, with the method attribute, must be used. As of 7.0, method="text" works as expected.

Syntax

<xsl:output
  method="xml" | "html" | "text"
  version=STRING
  encoding=STRING
  omit-xml-declaration="yes" | "no"
  standalone="yes" | "no"
  doctype-public=STRING
  doctype-system=STRING
  cdata-section-elements=LIST-OF-NAMES
  indent="yes" | "no"
  media-type=STRING />

Required Attributes

None.

Optional Attributes

Type

Top-level, must be the child <xsl:stylesheet> or <xsl:transform>.

Specifications

XSLT, section 16.

Gecko support

Partial support. See comments above.

In this article

View on MDN