#NEWLINE# def load( self , ctx = None , preprocessors = ( ) ) : #NEWLINE# #INDENT# '\n        Get an instance, possibly cached from a previous call, of this document\n        ' #NEWLINE# if ( self . _cache is None ) : #NEWLINE# #INDENT# doc = flatsax . parseString ( self . template , self . ignoreDocType , self . ignoreComment ) #NEWLINE# for proc in preprocessors : #NEWLINE# #INDENT# doc = proc ( doc ) #NEWLINE# #UNINDENT# doc = flat . precompile ( doc , ctx ) #NEWLINE# if ( self . pattern is not None ) : #NEWLINE# #INDENT# doc = inevow . IQ ( doc ) . onePattern ( self . pattern ) #NEWLINE# #UNINDENT# self . _cache = doc #NEWLINE# #UNINDENT# return self . _cache