Input and Output Options
Input and output options specifically intended for NSXMLDocument objects.
Overview
Because NSXMLDocument is a subclass of XMLNode, you can also use the relevant input and output options described in Constants in the NSXMLNode class reference. You can specify input options in the NSXMLDocument methods init(contentsOf:options:), init(data:options:), init(xmlString:options:). The xmlData(options:) method takes output options.