Python unicode strings ... tree = etree.parse(StringIO(xml)) >>> etree.tostring(tree.getroot()) b'<a xmlns="test"><b ... tree = etree.parse("doc/test.xml").
確定! 回上一頁