'Create a new entry in the toc from the node at given level.'

def new_navpoint(self, node, level, incr=True):

    if incr:
        self.playorder += 1
    self.tocid += 1
    return NavPoint(self.esc(('navPoint%d' % self.tocid)), self.playorder, node['text'], node['refuri'], [])
