'This method routes method call requests to either the SGMLParser
superclass or the Tag superclass, depending on the method name.'

def __getattr__(self, methodName):

    if ((methodName.find('start_') == 0) or (methodName.find('end_') == 0) or (methodName.find('do_') == 0)):
        return SGMLParser.__getattr__(self, methodName)
    elif (methodName.find('__') != 0):
        return Tag.__getattr__(self, methodName)
    else:
        raise AttributeError
