xmlstream 0.2.4 copy "xmlstream: ^0.2.4" to clipboard
xmlstream: ^0.2.4 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!

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
85%
popularity

Publisher

unverified uploader

A lightweight XML Parser.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

unittest

More

Packages that depend on xmlstream