python lxml get pai

parent_xml = child_xml.getparent()
Busy Batfish