#NEWLINE# def locate( self , ns ) : #NEWLINE# #INDENT# "\n        Find a schema by namespace.  Only the URI portion of\n        the namespace is compared to each schema's I{targetNamespace}.\n        The request is passed to the container.\n        @param ns: A namespace.\n        @type ns: (prefix,URI)\n        @return: The schema matching the namesapce, else None.\n        @rtype: L{Schema}\n        " #NEWLINE# if ( self . container is not None ) : #NEWLINE# #INDENT# return self . container . locate ( ns ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return None