XML Shell: xmlsh

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!


Comments

Leave a Reply

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