facho/fe/form.py: correcion identificador InvoiceLine/cbc:ID
FossilOrigin-Name: d3f7682487635e42acb9c15fcb1668beab6ea085e74e3ca55c147121f2ca59bb
This commit is contained in:
@@ -86,10 +86,7 @@ class LXMLBuilder:
|
||||
elem.text = text
|
||||
|
||||
def xpath(self, elem, xpath):
|
||||
print('xpath:' + xpath)
|
||||
print('elem:'+ self.tostring(elem))
|
||||
elems = elem.xpath(xpath, namespaces=self.nsmap)
|
||||
print('xpath elemnts:' + str(elems))
|
||||
if elems:
|
||||
return elems[0]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user