def startElement(self, name, attrs, connection):
    if (name == 'Item'):
        self.curItem = Item(self._connection)
    elif (self.curItem is not None):
        self.curItem.startElement(name, attrs, connection)
    return None
def startElement(self, name, attrs, connection):
    if (name == 'Item'):
        self.curItem = Item(self._connection)
    elif (self.curItem is not None):
        self.curItem.startElement(name, attrs, connection)
    return None