se le saca filo al machete

FossilOrigin-Name: 3c8cccda8e119b5d1d0edbce2ec326aa2f99053024efd9dd21c2092dacd08889
This commit is contained in:
bit4bit
2022-05-11 01:17:48 +00:00
parent ac1678b1cc
commit aa3c83933d
4 changed files with 74 additions and 59 deletions

View File

@@ -177,6 +177,9 @@ class FachoXML:
xml = LXMLBuilder.from_string(document)
return FachoXML(xml, nsmap=namespaces)
def root_namespace(self):
return etree.QName(self.root).namespace
def append_element(self, elem, new_elem):
#elem = self.find_or_create_element(xpath, append=append)
#self.builder.append(elem, new_elem)