xmlutils.py icon indicating copy to clipboard operation
xmlutils.py copied to clipboard

Python scripts for processing XML documents and converting to SQL, CSV, and JSON [UNMAINTAINED]

Results 15 xmlutils.py issues
Sort by recently updated
recently updated
newest added

I built the environment successfully, and trying to run the command from directory xmlutils.py `xml2json --input "/sample/logs.xml" --output "/sample/logs.json"` getting this error: `Traceback (most recent call last): File "/home/xalteddev/anaconda3/bin/xml2json", line...

i want to converter xml on the fly like converter = xml2json(message, encoding="utf-8") I wanted to convert xml from a variable rather than file as explained in the examples.

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...

Example: ` hello hello ` is converted to: INSERT INTO c (field,field) VALUES ("hello", "hello"); Proposed fix attached (xml2sql.py) [fix.txt](https://github.com/knadh/xmlutils.py/files/2561526/fix.txt)

If an element is missing in the source XML, then the corresponding cell is erroneously omitted from the resulting CSV. This causes values in the resulting CSV to appear in...

I am a new user of this repository, and I was wondering how I can convert the xml files from the IRS website to csv file and save it.

It would be helpful to support --limit 0. This would allow the user to request zero records output, and consequently the user could use this option to get the column...

When I run xmltable2csv I get the following error message" File "/usr/lib/python3.4/site-packages/xmlutils/console.py", line 20 """ ^ SyntaxError: invalid syntax The offending code is the triple-double quoted string literal as follows...

In my xml, I have some nodes in the chosen `tag` that have no values, I would like to skip them: A typical node is like this ```xml Yahoo Businesshttp://us.rd.yahoo.com/dailynews/rss/business/*http://story.news.yahoo.com/news?tmpl=story2...

Refer to example XML below. Those elements under App_Data App="SVOD" are mostly missing when converted using xmlutils.py ` `