documentContentKind
Sets the kind of output content for the receiver.
Declaration
var documentContentKind: XMLDocument.ContentKind { get set }Parameters
- kind:
An
enumconstant identifying a kind of document content. The valid NSXMLDocumentContentKind constants areNSXMLDocumentXMLKind,NSXMLDocumentXHTMLKind,NSXMLDocumentHTMLKind, andNSXMLDocumentTextKind.
Discussion
Most of the differences among document-content kind have to do with the handling of content-less tags such as <br>.