code: def startElement (self, name, attrs):
                  '''if there's a start method for this element, call it
                  '''
                  func = getattr(self, 'start_' + name, None)
                  if func:
                          func(attrsf startElement (self, name, attrs):
                  '''if there's a start method for this element, call it
                  '''
                  func = getattr(self, 'start_' + name, None)
                  if func:
                          func(attrs)
docs: if there's a start method for this element, call it