#NEWLINE# def __init__( self , out = None , encoding = 'iso-8859-1' ) : #NEWLINE# #INDENT# if ( out is None ) : #NEWLINE# #INDENT# import sys #NEWLINE# out = sys . stdout #NEWLINE# #UNINDENT# handler . ContentHandler . __init__ ( self ) #NEWLINE# self . _out = out #NEWLINE# self . _ns_contexts = [ { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } ] #NEWLINE# self . _current_context = self . _ns_contexts [ ( - 1 ) ] #NEWLINE# self . _undeclared_ns_maps = [ ] #NEWLINE# self . _encoding = encoding