def htmlDocContentDumpFormatOutput(self, cur, encoding, format):
        """Dump an HTML document. """
        if cur is None: cur__o = None
        else: cur__o = cur._o
        libxml2mod.htmlDocContentDumpFormatOutput(self._o, cur__o, encoding, format)