Skip to main content

Module xml

Module xml 

Source
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§

BaseNodeFactory
Factory that creates base nodes.
BranchNodeFactory
Factory that creates branch nodes.
XmlParser
XML parser that builds node trees.
XmlPrinter
XML printer that outputs node trees.
XmlPrinterOptions
Options for XML printing.

Traits§

NodeFactory
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.