/CSV-to-XML-Converter

Primary LanguageJavaApache License 2.0Apache-2.0

CSV to XML Converter

This is a CSV to XML converter written in Java for FOSSASIA.

How to Use it

Download repository and extract in same folder.

Open and edit csvxmlconverter.bat and change the paths of the files for your own directory.

java -jar csvxmlconverter.jar "[ folder_path ]contestants.csv" "[ folder_path ]contest_results.xml" "[ folder_path ]csvxmlconverter.jar" "[ folder_path ]transform.xsl" "[ folder_path ]out.xml"
PAUSE

contestants.csv is the csv data.
contest_results.xml is the file created when csv is converted to xml.
out.xml is the file that is created with the contest_results.xml data with the transform.xsl styling.

Run csvxmlconverter.bat and get xml file and xml file with xsl styling from paths passed in as command-line arguments.