Vasile Ermicioi Thu, 14 Jun 2012 13:54:45 -0700
d2 = {} for k,v in your_dict.iteritems(): d2[k.replace(' ','_')]=v
#then convert d2 to xml