> You can try xmltodict[1]. It also retains the node attributes and makes > than accessible using the '@' prefix (See the example in README of the repo) +1 for xmltodict