xmlstream 0.3.1 copy "xmlstream: ^0.3.1" to clipboard
xmlstream: ^0.3.1 copied to clipboard

outdatedDart 1 only

A lightweight XML Parser.

xmlstream #

A lightweight api for parsing xml

You can listen to xml encounters and states by parsing the xml char by char.

Simple usage #

The xmlStreamer will send an XmlEvent that will contain the state and value of a specific part of the xml.

See here a simple example how to use it in your application.

var xmlStreamer = new XmlStreamer(rawText);
xmlStreamer.read().listen((e) => print("listen: $e"));

These are the xml states:

  • Top
  • Open
  • Closed
  • Attribute
  • Text

Namespace and cdate are still on the todo list to support!

Ideas #

It is based upon the SAX's principles from Java.

Contributing #

If you found a bug, just create a new issue or even better fork and issue a pull request with you fix.

6
likes
0
pub points
86%
popularity

Publisher

unverified uploader

A lightweight XML Parser.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

unittest

More

Packages that depend on xmlstream