Build VMs, containers, AI, databases, storage—all in one place.
Start your project in minutes. After credits run out, 20+ products include free monthly usage. Only pay when you're ready to scale.
Get Started
Build Securely on Azure with Proven Frameworks
Lay a foundation for success with Tested Reference Architectures developed by Fortinet’s experts. Learn more in this white paper.
Moving to the cloud brings new challenges. How can you manage a larger attack surface while ensuring great network performance? Turn to Fortinet’s Tested Reference Architectures, blueprints for designing and securing cloud environments built by cybersecurity experts. Learn more and explore use cases in this white paper.
xml2csv is a small command-line tool written in JAVA and can be used on all platforms, for which JRE 8 or higher is available.
Examples:
1. Help
java -jar xml2csv-1.0.jar --help
2. Extract nodes from xml:
java -jar xml2csv-1.0.jar --nodes test/cd_catalog.xml
The result is the full node name and number of repetitions:
/CATALOG=1
/CATALOG/CD=26
/CATALOG/CD/TITLE=26
/CATALOG/CD/ARTIST=26
/CATALOG/CD/COUNTRY=26
/CATALOG/CD/COMPANY=26
/CATALOG/CD/PRICE=26
/CATALOG/CD/YEAR=26
3. ...
Java XML to CSV (XML2CSV) generic conversion facility.
Flattens one or more similar XML files into CSV projections.
I made it in order to extract data from big XML files and gather them in files more easily opened with a spreadsheet because I didn't find anything adapted to my needs over the Internet when I needed to (Java + truly generic + self-contained algorithm + Unix like command line options + efficiency).
An MS Excel VBA macro converts XML to CSV. It demonstrates this capability by converting an XML-based Continuity of Care Document (CCD) into a slim Comma Separated Value (CSV) file.
XML is a standard to move data around easily and CSV format is the easiest to display huge chunk of data. xml2csv offers, light weight and easy conversion of XML data to CSV formated data.