xmlutils.py
xmlutils.py copied to clipboard
Python3 changes
Just some quick fixes to make it run the conversions I needed on Python3 (3.10.6 in my case). Requires further testing, as I only went through the errors until I had the output I wanted. Solution might not be too "Pythonic".
Also corrected a minor README error for xmltables2csv and removed the annoying help-text on invocation.
Suggestion: Make changes to accept STDIN/STDOUT as input/output and write errors to STDERR.
Thx for this software! It solved me some time when I had to move some XML data in an SQLite db.