#NEWLINE# def write_items( self , handler ) : #NEWLINE# #INDENT# for item in self . items : #NEWLINE# #INDENT# handler . startElement ( 'item' , self . item_attributes ( item ) ) #NEWLINE# self . add_item_elements ( self , item ) #NEWLINE# handler . endElement ( 'item' )