Returns the string representation of the receiver as it would appear in an XML document, with one or more output options specified.
- macOS 10.4+
One or more
enumconstants identifying an output option; bit-OR multiple constants together. See Constants for a list of valid constants for specifying output options.
The returned string includes the string representations of all children.