Skip to main content

Module xml_parser

Module xml_parser 

Source
Expand description

Low-level XML parser primitives used by all parser modules.

Structs§

XmlParser
A low-level XML parser wrapper providing event-based reading with a reusable buffer.

Functions§

get_attribute
Returns the value of the named XML attribute as a string, or None if absent.
get_attribute_f32
Returns the named attribute parsed as an f32, or an error if absent or invalid.
get_attribute_u32
Returns the named attribute parsed as a u32, or an error if absent or invalid.
get_attribute_u32_opt
Returns the named attribute parsed as a u32, or None if absent, or an error if invalid.
get_attribute_uuid
Returns the uuid or p:uuid attribute parsed as a Uuid, or None if absent.