Deploy in 115+ regions with the modern database for every enterprise.
MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
8 Monitoring Tools in One APM. Install in 5 Minutes.
Errors, performance, logs, uptime, hosts, anomalies, dashboards, and check-ins. One interface.
AppSignal works out of the box for Ruby, Elixir, Node.js, Python, and more. 30-day free trial, no credit card required.
...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. Convert all xml nodes to csv
java -jar xml2csv-1.0.jar test/cd_catalog.xml
4. Convert xml to csv, like extract only nodes /CATALOG/CD/TITLE, /CATALOG/CD/ARTIST, /CATALOG/CD/PRICE in format PostgreSQLCsv
java -jar xml2csv-1.0.jar -f PostgreSQLCsv -o '/CATALOG/CD/TITLE, /CATALOG/CD/ARTIST, /CATALOG/CD/PRICE' test/cd_catalog.xml