Expand description
XML parsing and output.
This module provides XML parsing and printing functionality that matches the Java implementation’s behavior for byte-for-byte compatibility.
Structs§
- Base
Node Factory - Factory that creates base nodes.
- Branch
Node Factory - Factory that creates branch nodes.
- XmlParser
- XML parser that builds node trees.
- XmlPrinter
- XML printer that outputs node trees.
- XmlPrinter
Options - Options for XML printing.
Traits§
- Node
Factory - Factory trait for creating nodes during parsing.
Functions§
- parse_
file - Parses XML from a file using a base node factory.
- parse_
str - Parses XML from a string using a base node factory.
- print_
to_ string - Prints a node tree to a string.
- print_
to_ string_ pretty - Prints a node tree to a string with pretty printing.