Give each XML node a weak_pointer to it's parent, and make use of that, rather than passing an explicit parent in process_node.
Have a list of XML elements which can contain an <indexterm> and make sure we only insert an <indexterm> in a location where it's actually valid XML.
(No files)
Note:
See TracChangeset
for help on using the changeset viewer.