Module xml

Module xml 

Source
Expand description

XML parsing utilities. Exports functions and configuration structs that are sufficient to process a roxmltree::Node.

Structs§

Document
An XML tree container.
Node
A node in a document.
ParseOptions
Used to keep Clippy’s too_many_argument check happy.
ParseXmlConfig
Configuration to determine which XML options will be used when parsing a roxmltree Node.

Statics§

DEFAULT_ALWAYS_USE_TEXT_KEY
DEFAULT_ATTR_PREFIX
DEFAULT_INCLUDE_ATTR
DEFAULT_PARSE_BOOL
DEFAULT_PARSE_NULL
DEFAULT_PARSE_NUMBER
DEFAULT_TEXT_KEY
DEFAULT_TRIM
XML_RE
A lazily initialized regular expression that matches excess whitespace between XML/HTML tags.

Functions§

parse_xml
Parses an XML string into a structured Resolved format based on the provided ParseOptions.
process_node
Process an XML Node and return a VRL Value.