Fix #64, nuevo namespace para factura electroncia.

FossilOrigin-Name: 3a67c6610c9129c0a60278e6e93764445804c2a92ce74c982643170f3105af45
This commit is contained in:
2020-11-02 00:36:48 +00:00
parent d97ff79137
commit c394663cc8
3 changed files with 25 additions and 19 deletions

View File

@@ -164,8 +164,8 @@ class FachoXML:
def _path_xpath_for(self, xpath):
return self._normalize_xpath(self._translate_xpath_for(xpath))
def placeholder_for(self, xpath):
return self.find_or_create_element(xpath)
def placeholder_for(self, xpath, append=False):
return self.find_or_create_element(xpath, append)
def replacement_for(self, xpath, new_xpath, content, **attrs):
elem = self.get_element(xpath)