Struct xml_builder::XML [−][src]
pub struct XML { /* fields omitted */ }
Expand description
Structure representing a XML document. It must be used to create a XML document.
Implementations
Sets the XML version attribute field.
Arguments
version
- An enum value representing the new version to use for the XML.
Sets the XML encoding attribute field.
Arguments
encoding
- A String representing the encoding to use for the document.
Sets to true
the standalone attribute for this XML document.
Sets to false
the standalone attribute for this XML document.
Enables attributes sorting.
Disables attributes sorting.
Enables XML indentation.
Disables XML indentation.
Sets the XML document root element.
Arguments
element
- An XMLElement qualified as root for the XML document.