Exemplo n.º 1
0
 def c14nSaveTo(self,
                file,
                nodes=None,
                exclusive=0,
                prefixes=None,
                with_comments=0):
     if nodes:
         nodes = map(lambda n: n._o, nodes)
     return libxml2mod.xmlC14NDocSaveTo(self.get_doc()._o, nodes,
                                        exclusive != 0, prefixes,
                                        with_comments != 0, file)
Exemplo n.º 2
0
 def c14nSaveTo(self,
                file,
                nodes=None,
                exclusive=0,
                prefixes=None,
                with_comments=0):
     if nodes:
         nodes = map(lambda n: n._o, nodes)
     return libxml2mod.xmlC14NDocSaveTo(
         self.get_doc()._o,
         nodes,
         exclusive != 0,
         prefixes,
         with_comments != 0,
         file)