Searched refs:chapelem (Results 1 – 1 of 1) sorted by relevance
35 def add_id(chapelem, idelem, id_map, chapter_id): argument187 for chapelem in chapter_elems:189 h2_elems = chapelem.findall('.//h2[@id]')195 for idelem in chapelem.findall('.//*[@id]'):197 add_id(chapelem, idelem, id_map, chapter_id)