Module xmlhelper::decode [] [src]

Utilities to parse a XML event stream

Structs

Attribute

An owned version of an XML attribute.

ElementScopedStream

Element Scoped Stream

Error

The Error type.

Name

An owned variant of Name.

Stream

Owned stream

XmlAttributeList
XmlElement

Enums

ErrorKind

The kind of an error.

Traits

ElementNameSet
FromXMLStream
ResultExt

Additional methods for Result, for easy interaction with this crate.

XmlEventStream

Functions

all

Consume all events of a stream by calling a function repeatly

characters

Consume a Characters event and parse it

element

Consume an element, apply a function to an element scoped stream, return the function result

end_document

Consume a EndDocument event

end_element

Consume a EndElement event

fold_elements

Consume all elements of a stream, fold them to a value

skip_element

Consume an element and its children

start_document

Consume a StartDocument event

start_element

Consume a StartElement event

Type Definitions

Result

Convenient wrapper around std::Result.