def _make_sure_table_exists(self, name_seq):
t = self<EOL>for key in name_seq[:-<NUM_LIT:1>]:<EOL><INDENT>t = t[key]<EOL><DEDENT>name = name_seq[-<NUM_LIT:1>]<EOL>if name not in t:<EOL><INDENT>self.append_elements([element_factory.create_table_header_element(name_seq),<EOL>element_factory.create_table({})])<EOL><DEDENT>
Makes sure the table with the full name comprising of name_seq exists.