'Required:
\'file\'
Optional:
\'copy\'-- whether to make a copy of result for debugging
\'temp_dir\' --where to output temporary results (default is
directory from which the script is run.)
Returns:
nothing'

def __init__(self, in_file, bug_handler, dtd_path, no_dtd, encoding, indent=None, copy=None, run_level=1):

    self.__file = in_file
    self.__bug_handler = bug_handler
    self.__copy = copy
    self.__dtd_path = dtd_path
    self.__no_dtd = no_dtd
    self.__encoding = ('cp' + encoding)
    self.__indent = indent
    self.__run_level = run_level
    self.__write_to = better_mktemp()
    self.__convert_utf = False
    self.__bad_encoding = False
