- http://www.xmlsh.org
- https://github.com/xmlsh/xmlsh1_3
- they also provide a Java .jar file and a shell script etc around it, so you can run it on your platform
- http://www.xmlsh.org/CommandCsv2xml – builtin csv2xml, funny!
- http://www.xmlsh.org/CommandRngconvert – that’s trang, dealing with “Relax NG“
examples for csv2xml:
$ csv2xml -header my_file.csv
$ csv2xml -header -attr my_file.csv
# for CSV files created by Excel in Germany:
$ csv2xml -delim ‘;’ -header -attr my_file.csv
With -header the header line with its column names is being used to name the tags around the specific “cells” in XML.
If you prefer to use attributes for the column names, use -attr!