Enumeration

XMLDocument.ContentKind

Type used to define the kind of document content.

Declaration

enum ContentKind : UInt

Overview

For possible values, see Document Content Types.

Topics

Enumeration Cases

case html

Outputs empty tags in HTML without a close tag, such as <br>.

case text

Outputs the string value of the document by extracting the string values from all text nodes.

case xhtml

The document output is XHTML.

case xml

The default type of document content type, which is XML.