Example #1
0
 def c14nMemory(self,
                nodes=None,
                exclusive=0,
                prefixes=None,
                with_comments=0):
     if nodes:
         nodes = map(lambda n: n._o, nodes)
     return libxml2mod.xmlC14NDocDumpMemory(self.get_doc()._o, nodes,
                                            exclusive != 0, prefixes,
                                            with_comments != 0)
Example #2
0
 def c14nMemory(self,
                nodes=None,
                exclusive=0,
                prefixes=None,
                with_comments=0):
     if nodes:
         nodes = map(lambda n: n._o, nodes)
     return libxml2mod.xmlC14NDocDumpMemory(
         self.get_doc()._o,
         nodes,
         exclusive != 0,
         prefixes,
         with_comments != 0)