xml-analyser
xml-analyser copied to clipboard
Simple command line tool for quickly analysing the structure of an arbitrary XML file
I'm not sure if this is possible, but it would be nice if this tool didn't have to suck the entire document into RAM. https://github.com/dogsheep/evernote-to-sqlite/blob/main/evernote_to_sqlite/utils.py uses `xml.etree.XMLPullParser` for this.
e.g. for this one: ``` "note": { "attr_counts": {}, "child_counts": { "content": 2126, "created": 2126, "note-attributes": 2126, "resource": 2605, "tag": 45, "title": 2126, "updated": 2126 }, "count": 2126, "parent_counts": {...