Crate xmlparser [] [src]

A low-level XML 1.0 parser implementation.

use xmlparser::FromSpan;

for token in xmlparser::Tokenizer::from_str("<tagname name='value'/>") {
    println!("{:?}", token);
}

Structs

Error

The Error type.

ErrorPos

Position of the error.

StrSpan

An immutable string slice.

Stream

Streaming text parsing interface.

StreamError

The Error type.

TextUnescape

XML escaped text to plain text converter.

Tokenizer

Tokenizer of the XML structure.

Enums

ElementEnd

ElementEnd token.

EntityDefinition

Representation of the EntityDef value.

ErrorKind

The kind of an error.

ExternalId

Representation of the ExternalID value.

Reference

Representation of the Reference value.

StreamErrorKind

The kind of an error.

Token

An XML token.

XmlSpace

Spaces processing type.

Traits

ChainedError

This trait is implemented on all the errors generated by the error_chain macro.

FromSpan

A general tokenizer interface.

XmlByteExt

Extension methods for XML-subset only operations.

XmlCharExt

Extension methods for XML-subset only operations.