- 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
A couple of command line options we are using:
- -delim ‘;’ – German excel files get exported to CSV files with ‘;’ as column separator / delimiter, so when we read such CSV files, we have to take into account this delimiter
- -header – read 1 row from the csv file and use as column names (element or attribute)
- -attr – output in attribute normal format (each column is an attribute), default row normal format
$ csv2xml -delim ‘;’ -header -attr my_file.csv