xmlData(options:)
Returns the XML string representation of the receiver—that is, the entire document—encapsulated in a data object.
Declaration
func xmlData(options: XMLNode.Options = []) -> DataParameters
- options:
One or more options (bit-OR’d if multiple) to affect the output of the document; see Constants for the valid output options.
Discussion
The encoding used is based on the value returned from characterEncoding.