#NEWLINE# def write_xml( self , node , value ) : #NEWLINE# #INDENT# children = xml_children ( value ) #NEWLINE# list ( map ( node . append , children ) ) #NEWLINE# for ( attrib_key , attrib_value ) in value . attrib . iteritems ( ) : #NEWLINE# #INDENT# node . set ( self , attrib_value )