More details are here: xml.jcabi.com. Also, read this blog post: Java XML Parsing Made Easy.
It's a simple wrapper around DOM that makes XML parsing and printing easy and simple, for example:
XML xml = new XMLDocument("<orders><order id="4">Coffee to go</order></orders>");
String id = xml.xpath("//order/@id").get(0);
String name = xml.xpath("//order[@id=4]/text()").get(0);
System.out.println(xml.toString());
If you have any questions about the framework, or something doesn't work as expected, please submit an issue here.
Fork the repository, make changes, submit a pull request.
We promise to review your changes same day and apply to
the master
branch, if they look correct.
Please run Maven build before submitting a pull request:
$ mvn clean install -Pqulice