Fixed a bug in xml_dict; strings with whitespace were
not being treated correctly.