c:output

<c:output
  name? = eqname
  method? = "xml" | "html" | "text" | eqname
  byte-order-mark? = boolean
  cdata-section-elements? = eqname*
  doctype-public? = string
  doctype-system? = string
  encoding? = string
  escape-uri-attributes? = boolean
  indent? = boolean
  indent-spaces? = integer
  item-separator? = string
  media-type? = string
  omit-xml-declaration? = boolean
  standalone? = boolean | "omit"
  version? = nmtoken
  skip-character-check? = boolean />

Defines serialization parameters.

Category
declaration
Permitted parent elements
c:module
c:package

Attributes

byte-order-mark Specifies whether a byte order mark is written at the start of the file.
cdata-section-elements Specifies elements whose child text nodes should be wrapped in a CDATA section.
doctype-public Specifies a public document type declaration.
doctype-system Specifies a system document type declaration.
encoding Specifies the output encoding.
escape-uri-attributes Specifies whether to escape URI attributes in HTML documents.
indent Specifies whether to indent the output.
indent-spaces The number of spaces to use for indenting.
item-separator A string to intersperse between items.
media-type The media type (MIME content type) of the output, to include in a meta element in the head of HTML documents.
method Specifies the output format.
name The name of the output definition.
omit-xml-declaration Specifies whether to omit the XML declaration.
skip-character-check Specifies whether to skip character checking that ensures the output does not contain any illegal characters.
standalone Specifies whether to include the standalone document declaration.
version The version of the output format.

In addition to the attributes in the preceding table, there are a number of standard attributes that may appear on any XCST element.

Error Conditions

It is a compilation error if the name attribute uses a reserved namespace.

See Also