Utilities for XML files developed in Java using JDOM2, XMLUnit and Apache Maven
XMLUtil provides the following:
- Reads from an XML file
- Creates an XML file
- Prints a node's contents
- Sorts nodes of an XML file based on particular field
- Converts an XML file into a String
- Extracts a substring of the converted XML using a regular expression
- Compares two XML files and see the differences if they occur
Technologies used:
- Java 8
- JDOM2
- XMLUnit
- Apache Maven.
Note: The example xml file was taken from www.w3schools.com