Module parser

Source
Expand description

Contains low-level XML Parser.

For example XML like this:

<tag attribute="value"/><another-tag>text</another-tag>

Will give following events:

codetext
StartTag“tag”
AttributeName“attribute”
AttributeValue“value”
EndTagImmediate
StartTag“another-tag”
Text“text”
EndTag“another-tag”
Eof

Structs§

Event
Event represents a part of a XML document.
MalformedXmlError
XML was not well-formed (syntax error)
Parser
A low level XML parser that emits Events as it reads the incoming XML.

Enums§

DecodeError
Represents error from decoding textual value
EventCode
Represents the type of the Event.
MalformedXMLKind
The kind of XML malformation that was encountered
ParseError
Error while parsing