Python: replace minidom by lxml.etree on parsing XML