code: def htmlDocContentDumpFormatOutput(self, buf, encoding, format):
          
          if buf is None: buf__o = None
          else: buf__o = buf._o
          libxml2mod.htmlDocContentDumpFormatOutput(buf__o, self._o, encoding, format)
docs: Dump an HTML document.