'Requires:
line -- line to parse
Returns:
nothing
Logic:
If the end of the information field is found, write the text
string to the file.
Otherwise, if the line contains text, add it to the text string.'

def __collect_text_func(self, line):

    if (self.__token_info == 'mi<mk<docinf-end'):
        self.__state = 'in_info_table'
        if len(self.rmspace.sub('', self.__text_string)):
            self.__write_obj.write(('mi<tg<open______<%s\ntx<nu<__________<%s\nmi<tg<close_____<%s\n' % (self.__tag, self.__text_string, self.__tag)))
        self.__text_string = ''
    elif (line[0:2] == 'tx'):
        self.__text_string += line[17:(-1)]
