XMLTools is Python XML tool base on XML SAX parser provide analisys and another XML manipulation instrument.
You will type in shell follow command:
# python -m xmltool.stat 1.xml
or
# xmltool 1.xml
XML Tools system make follow report:
| root.elem2.childElem2 | 1 |
| root.elem2.childElem1 | 1 |
| root | 1 |
| root.elem2 | 2 |
| root.py:elem1 | 2 |