'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.startswith('start_') or methodName.startswith('end_') or methodName.startswith('do_')):
        return SGMLParser.__getattr__(self, methodName)
    elif (not methodName.startswith('__')):
        return Tag.__getattr__(self, methodName)
    else:
        raise AttributeError
