#NEWLINE# def merge_xml_to_dict( node , d , attrs ) : #NEWLINE# #INDENT# for n in attrs : #NEWLINE# #INDENT# elem = node . find ( n ) #NEWLINE# if ( elem is not None ) : #NEWLINE# #INDENT# d [ attrs ] = elem . text