XMLNode.Options
These constants are input and output options for all NSXMLNode objects (unless otherwise indicated), including Xmldocument objects. You can specify these options in the NSXMLNode methods Init(kind:options:) and Xmlstring(options:).
Declaration
struct OptionsOverview
The options with “Preserve” in their names are applicable only when external sources of XML are parsed; they have no effect on node objects that are programmatically created. Other options are used in initialization and output methods of NSXMLDocument; see the XMLDocument reference documentation for details.
Topics
Constants
documentIncludeContentTypeDeclarationdocumentTidyHTMLdocumentTidyXMLdocumentValidatedocumentXIncludenodeCompactEmptyElementnodeExpandEmptyElementnodeIsCDATAnodeLoadExternalEntitiesAlwaysnodeLoadExternalEntitiesNevernodeLoadExternalEntitiesSameOriginOnlynodeNeverEscapeContentsnodePreserveAllnodePreserveAttributeOrdernodePreserveCDATAnodePreserveCharacterReferencesnodePreserveDTDnodePreserveEmptyElementsnodePreserveEntitiesnodePreserveNamespaceOrdernodePreservePrefixesnodePreserveQuotesnodePreserveWhitespacenodePrettyPrintnodePromoteSignificantWhitespacenodeUseDoubleQuotesnodeUseSingleQuotes