[−][src]Crate xdoc
xdoc
presents the primitives on an XML Document.
For example Element
and Attribute
are structs in this library.
It is written in support of the exile
crate, but kept separate from that crate due to dev-time
compilation dependencies.
Re-exports
pub use crate::error::Result; |
Modules
error | The public error type for this library. |
Structs
Declaration | The XML declaration at the start of the XML Document. |
Document | Represents an XML Document. |
Element | Represents an Element in an XML Document. |
OrdMap | OrdMap implements some conveniences like Clone an PartialEq for maps so that we can compare XML Documents (and do other things). |
PIData | Represents a Processing Instruction (PI) in an XML document. |
WriteOpts | Options for controlling how the XML Document is written when serialized. |
Enums
Encoding | The encoding of the XML Document, currently only UTF-8 is supported. |
Newline | The type of newline character to use when writing the XML Document |
Node | Represents a Node in an XML Document. The Document consists of a recursive nesting of these. |
Version | Represents the XML Version being used. |