xmp tricks in python
>>> ET.tostring(root) '<add>5</add>' >>> tree = ET.parse('xenon.xml') >>> root = tree.getroot() >>> root.tag 'print' >>> root.text '5, 7, "hello"'