Module rapid_xml::parser [−][src]
Expand description
Contains low-level XML Parser
.
For example XML like this:
<tag attribute="value"/><another-tag>text</another-tag>
Will give following events:
code | text |
---|---|
StartTag | “tag” |
AttributeName | “attribute” |
AttributeValue | “value” |
EndTagImmediate | |
StartTag | “another-tag” |
Text | “text” |
EndTag | “another-tag” |
Eof |
Structs
Event represents a part of a XML document.
XML was not well-formed (syntax error)
A low level XML parser that emits Event
s as it reads the incoming XML.
Enums
Represents error from decoding textual value
Represents the type of the Event
.
The kind of XML malformation that was encountered
Error while parsing