nuevas rutinas para almacenar xml.

facho/fe/form_xml.py(DIANWrite): escribe xml a archivo.
facho/fe/form_xml.py(DIANWriteSigned): escribe xml firmado a archivo.

FossilOrigin-Name: fbadde1c5c263033ccaa60c9fb69113829bc405adef684bc3d6497d56f1b95c3
This commit is contained in:
2020-10-24 02:19:58 +00:00
parent f0533dee5e
commit ee622f5fb6
3 changed files with 18 additions and 9 deletions

View File

@@ -69,8 +69,7 @@ class FeXML(FachoXML):
self._cn = root.rstrip('/')
#self.find_or_create_element(self._cn)
# MACHETE se elimina xml namespace fe
def tostringMACHETE(self, **kw):
def tostring(self, **kw):
return super().tostring(**kw)\
.replace("fe:", "")\
.replace("xmlns:fe", "xmlns")