def endElement(self, name):
        try:
            name = name.split(':')[1]
        except __HOLE__:
            pass
        if self.recording:
            self.buffer.append('</' + name + '>')
        else:
            output('</' + name + '>')
        if name in self.preparer.feat_types:
            self.recording = False
            output(self.preparer.prepare_feature(''.join(self.buffer)))
            self.buffer = []
dataset/ETHPy150Open AstunTechnology/Loader/python/prepgml4ogr.py/gmlhandler.endElement