<c:serialize
format? = { 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" }
output-version? = { nmtoken }
skip-character-check? = { boolean } >
<!-- Content: sequence-constructor -->
</c:serialize>
Creates a string representation of its contents.
- Category
- instruction
- Permitted parent elements
- Any XCST element whose content model is sequence-constructor
- Any literal result element
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. |
format |
The name of the output definition to get serialization parameters from. |
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. |
omit-xml-declaration |
Specifies whether to omit the XML declaration. |
output-version |
The version of the output format. |
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. |
In addition to the attributes in the preceding table, there are a number of standard attributes that may appear on any XCST element.