def htmlNewDocNoDtD(URI, ExternalID):
    """Creates a new HTML document without a DTD node if @URI and
       @ExternalID are None """
    ret = libxml2mod.htmlNewDocNoDtD(URI, ExternalID)
    if ret is None:raise treeError('htmlNewDocNoDtD() failed')
    return xmlDoc(_obj=ret)
def htmlNewDocNoDtD ( URI , ExternalID ) : ret = libxml2mod . htmlNewDocNoDtD ( URI , ExternalID ) if ret is None : raise treeError ( 'htmlNewDocNoDtD() failed' ) return xmlDoc ( _obj = ret )
Creates a new HTML document without a DTD node if @URI and
       @ExternalID are None