https://github.com/jcabi/jcabi-xml
Java XML Parsing, Transforming, Printing, and Validating
https://github.com/jcabi/jcabi-xml
java java-xml java-xml-library xml xml-parsing
Last synced: 10 months ago
JSON representation
Java XML Parsing, Transforming, Printing, and Validating
- Host: GitHub
- URL: https://github.com/jcabi/jcabi-xml
- Owner: jcabi
- License: other
- Created: 2013-10-20T10:46:46.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2025-06-07T10:46:36.000Z (11 months ago)
- Last Synced: 2025-06-07T11:29:15.511Z (11 months ago)
- Topics: java, java-xml, java-xml-library, xml, xml-parsing
- Language: Java
- Homepage: https://xml.jcabi.com
- Size: 5.69 MB
- Stars: 105
- Watchers: 9
- Forks: 38
- Open Issues: 20
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Simple XML Parsing and Traversing, in Java
[](https://www.elegantobjects.org)
[](https://www.rultor.com/p/jcabi/jcabi-xml)
[](https://github.com/jcabi/jcabi-xml/actions/workflows/mvn.yml)
[](https://www.0pdd.com/p?name=jcabi/jcabi-xml)
[](https://codecov.io/gh/jcabi/jcabi-xml)
[](https://www.javadoc.io/doc/com.jcabi/jcabi-xml)
[](https://maven-badges.herokuapp.com/maven-central/com.jcabi/jcabi-xml)
More details are here: [xml.jcabi.com](http://xml.jcabi.com/index.html).
Also, read this blog post: [Java XML Parsing Made Easy][blog].
It's a simple wrapper around DOM that makes XML parsing and printing
easy and simple, for example:
```java
XML xml = new XMLDocument(
"Coffee to go"
);
XML item = xml.nodes("//item[@id=4]").get(0);
String name = item.xpath("text()").get(0);
System.out.println(xml.toString());
```
## How to contribute?
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:
```bash
mvn clean install -Pqulice
```
[blog]: http://www.yegor256.com/2014/04/24/java-xml-parsing-and-traversing.html