code: def saveFile(self, filename):
          
          ret = libxml2mod.xmlSaveFile(filename, self._o)
          return ret
docs: Dump an XML document to a file. Will use compression if
            compiled in and enabled. If @filename is "-" the stdout
             file is used.