'Switch the function used to insert an element from the
normal one to the misnested table one and back again'

def _setInsertFromTable(self, value):

    self._insertFromTable = value
    if value:
        self.insertElement = self.insertElementTable
    else:
        self.insertElement = self.insertElementNormal
