XML Shell: xmlsh: csv2xml

by

in

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


Comments

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.