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

outdated

A lightweight library for parsing, traversing, querying, transforming and building XML documents.

example/README.md

Dart XML Examples #

This package contains examples to illustrate the use of Dart XML. A tutorial and full documentation is contained in the package description and API documentation.

ip_lookup #

This example performs an API call to ip-api.com to search for IP and domain meta-data. If no query is provided the current IP address will be used. Various options can be changed over the command line arguments.

dart example/ip_api.dart --help
dart example/ip_api.dart --fields=query,city,country

xml_flatten #

This example contains a command-line application that flattens an XML documents from the file-system into a list of events that are printed to the console. For example:

dart example/xml_flatten.dart example/books.xml

xml_pp #

This example contains a command-line application that reads XML documents from the file-system and pretty prints the formatted document to the console.

dart example/xml_pp.dart example/books.xml

xml_grep #

This example contains a command-line application that reads XML documents from the file-system and prints matching tags to the console. For example:

dart example/xml_grep.dart -t title example/books.xml
402
likes
0
pub points
99%
popularity

Publisher

verified publisherlukas-renggli.ch

A lightweight library for parsing, traversing, querying, transforming and building XML documents.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

collection, convert, meta, petitparser

More

Packages that depend on xml