XMLDeclaration Type
The XML declaration present at the beginning of a document.
Remarks
This type contains details about the XML declaration which may be set before writing a document.
This is only applicable when writing documents.
Fields
| |
encoding String |
This property specifies the XML encoding to use.
This may be set before writing a document.
The default value is "utf-8".
This is only applicable when writing XML.
|
standalone Bool |
This property indicates whether the standalone attribute is present in the declaration with a value of true.
This may be set before writing a document.
The default value is "true".
This is only applicable when writing XML.
|
version String |
This property specifies the XML version.
This may be set before writing a document.
The default value is "1.0".
This is only applicable when writing XML.
|
Constructors
public init()
public init(version: String, encoding: String, standalone: Bool)