xml 0.1.3 copy "xml: ^0.1.3" to clipboard
xml: ^0.1.3 copied to clipboard

outdatedDart 1 only

A lightweight XML Parser.

Dart Xml #

Dart Xml is a lightweight library for parsing and emitting xml.

What "Lightweight" Means #

Many programmatic scenarios concerning XML deal with serialization and deserialization of data, usually for transmission between services). The querying of said data in object form is also important. Typically these data are XML fragments and not fully formed XML documents.

This project focuses the most common scenarios and does not concern itself with parsing of fully formed XML documents (with prologues, DOCTYPEs, etc). With the exception of comments, the parser expects a single node in the root of the XML string (see Limitations below for more info).

Dart Developers who require more robust XML handling are encouraged to fork the project and expand as needed. Pull requests will certainly be welcomed.

Getting Started #

See the "getting_started.md" file in the doc/ directory of the project.

Supports #

  • Standard well-formed XML
  • Comment nodes
  • CDATA nodes
  • Text nodes
  • Namespace declarations and usage
  • Processing Instruction (PI) nodes
  • Querying of XML nodes by tagName, attribute(s), or XmlNodeType (combinators soon hopefully)

Limitations #

  • Doesn't enforce DTD
  • Doesn't enforce any local schema declarations

License #

Apache 2.0

407
likes
0
pub points
99%
popularity

Publisher

verified publisherlukas-renggli.ch

A lightweight XML Parser.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

unittest

More

Packages that depend on xml