Deprecated This project is deprecated. The preferred way of reading data is shifted from Yaml to XML.
A tool to converter xml data files into yml data files
The project relies on maven for building. Running the following command builds several artifacts.
mvn package
After building the project there is an artifact
xml2yaml-<VERSION>-jar-with-dependencies.jar
in the target
directory. This
is an executable jar that can be run with the following command
java -jar xml2yaml-<VERSION>-jar-with-dependencies.jar <data-file>
For ease of use, one can create the following script
#! /usr/bin/env bash
LOCATION=<INSTALLATION-DIRECTORY>
VERSION=<INSTALLED-VERSION>
java -jar $LOCATION/xml2yaml-$VERSION-jar-with-dependencies.jar "$@"
substituting the correct values for <INSTALLATION-DIRECTORY>
and <VERSION>
.