'Same as the __open_att_func, except a \'/\' is placed at the end of the tag.'

def __empty_att_func(self, line):

    info = line[17:(-1)]
    tokens = info.split('<')
    element_name = tokens[0]
    tokens = tokens[1:]
    self.__write_obj.write(('<%s' % element_name))
    for token in tokens:
        groups = token.split('>')
        val = groups[0]
        att = groups[1]
        att = att.replace('"', '&quot;')
        att = att.replace("'", '&quot;')
        self.__write_obj.write(('    %s="%s"' % (val, att)))
    self.__write_obj.write('/>')
    self.__new_line = 0
    if (element_name in self.__block):
        self.__write_new_line()
    if (element_name in self.__two_new_line):
        self.__write_extra_new_line()
