#NEWLINE# def convert( objects ) : #NEWLINE# #INDENT# xml_objects = [ ] #NEWLINE# for obj in objects : #NEWLINE# #INDENT# if ( XML_TYPE in obj . layouts ) : #NEWLINE# #INDENT# XMLObject . convert ( obj ) #NEWLINE# xml_objects . append ( obj ) #NEWLINE# #UNINDENT# #UNINDENT# return xml_objects