code: def htmlDocContentDumpOutput(self, buf, encoding):
          
          if buf is None: buf__o = None
          else: buf__o = buf._o
          libxml2mod.htmlDocContentDumpOutput(buf__o, self._o, encoding)
docs: Dump an HTML document. Formating return/spaces are added.