public struct XMLHeader
Type that allows overriding XML header during encoding. Pass a value of this type to the
XMLEncoder to specify the exact value of the header you'd like to see in the encoded
public init(version: Double? = nil, encoding: String? = nil, standalone: String? = nil)
public let version: Double?
The XML standard that the produced document conforms to.
public let encoding: String?
The encoding standard used to represent the characters in the produced document.
public let standalone: String?
Indicates whether a document relies on information from an external source.