xml_events library

Dart XML Events is an event based library to asynchronously parse XML documents and to convert them to other representations.

Classes

XmlCDATAEvent
Event of an XML CDATA node.
XmlCommentEvent
Event of an XML comment node.
XmlDoctypeEvent
Event of an XML doctype node.
XmlElementAttribute
Attributes of an XmlStartElementEvent.
XmlEndElementEvent
Event of an closing XML element node.
XmlEvent
Immutable base class for all events.
XmlEventCodec
Converts between String and XmlEvent sequences.
XmlEventDecoder
A converter that decodes a String to a sequence of XmlEvent objects.
XmlEventEncoder
A converter that encodes a sequence of XmlEvent objects to a String.
XmlNodeCodec
Converts between XmlEvent sequences and XmlNode trees.
XmlNodeDecoder
A converter that decodes a sequence of XmlEvent objects to a forest of XmlNode objects.
XmlNodeEncoder
A converter that decodes a forest of XmlNode objects to a sequence of XmlEvent objects.
XmlNormalizer
A converter that normalizes sequences of XmlEvents, namely combines adjacent and removes empty text events.
XmlProcessingEvent
Event of an XML processing node.
XmlStartElementEvent
Event of an XML start element node.
XmlTextEvent
Event of an XML text node.

Mixins

XmlEventVisitor
Basic visitor over XmlEvent nodes.

Functions

parseEvents(String input, {XmlEntityMapping entityMapping: const XmlDefaultEntityMapping.xml()}) Iterable<XmlEvent>
Returns an Iterable of XmlEvent instances over the provided String. [...]

Enums

XmlAttributeType
Enum of the attribute quote types.
XmlNodeType
Enum of the different XML Node types.