int index(name)

- return index number in table int name;

Bool omit_endtag(name)

- check if endtag may be omitted int name;

Bool contain_elem(name, elem)

- check if element is part of content model int name, elem;

Bool contain_data(name, ch)

- check if character is part of content model int name, ch;

These functions are needed in the parser to retrieve information about the table for endtag omission. This table is generated on the file ``taglist.i'' (see ``gen_taglist.c''). index() returns given a name, the corresponding index in the table. omit_endtag() returns whether or not the endtag of the given element-name may be omitted according to the DTD.

contain_elem() (contain_data()) return TRUE when elem (ch) is part of the content model of the element referenced by name.

taglist.c taglist.h