#NEWLINE# def _flavors_list_to_xml( self , xml_doc , flavors , detailed ) : #NEWLINE# #INDENT# container_node = xml_doc . createElement ( 'flavors' ) #NEWLINE# for flavor in flavors : #NEWLINE# #INDENT# item_node = self . _flavor_to_xml ( xml_doc , flavor , item_node ) #NEWLINE# container_node . appendChild ( item_node ) #NEWLINE# #UNINDENT# return container_node