I have this XML file:
virtual bug 66523dfdf555dfd
etree, with lxml probably:
root = etree.XML(MY_XML) uuid = root.find('uuid') print uuid.text