Contents

documentContentKind

Sets the kind of output content for the receiver.

Declaration

var documentContentKind: XMLDocument.ContentKind { get set }

Parameters

  • kind:

    An enum constant identifying a kind of document content. The valid NSXMLDocumentContentKind constants are NSXMLDocumentXMLKind, NSXMLDocumentXHTMLKind, NSXMLDocumentHTMLKind, and NSXMLDocumentTextKind.

Discussion

Most of the differences among document-content kind have to do with the handling of content-less tags such as <br>.

See Also

Managing Document Attributes