'SAX processing, called per node in the config stream.
This becomes a call to Close on one context followed by a call
to Return on the previous.'

def endElement(self, tag):

    tag = tag
    assert (self._current >= 0)
    retval = self._contexts[self._current].Close()
    self._current = (self._current - 1)
    if (self._current >= 0):
        self._contexts[self._current].Return(retval)
    elif (retval and (self._contexts == self._contexts_idx)):
        self._MungeLocationListIntoFiles(retval)
