Index: views-view-xml.tpl.php =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/views_datasource/Attic/views-view-xml.tpl.php,v retrieving revision 1.1.2.3 diff -u -p -r1.1.2.3 views-view-xml.tpl.php --- views-view-xml.tpl.php 9 Jul 2008 06:47:58 -0000 1.1.2.3 +++ views-view-xml.tpl.php 17 Apr 2009 20:21:02 -0000 @@ -46,8 +46,10 @@ function xml_raw_render($nodes, $view) { $label = views_xml_strip_illegal_chars($nodefieldarray[0]); $value = views_xml_strip_illegal_chars(views_xml_is_date($nodefieldarray[1])); - if (strtotime($value)) - $value = date(DATE_ISO8601, strtotime($value)); + if (preg_match('/\d/', $value)) { + if (strtotime($value)) + $value = date(DATE_ISO8601, strtotime($value)); + } $label = str_replace('_value', '', str_replace("profile_values_profile_", '', $label)); //strip out Profile: from profile fields if (is_null($value) || ($value === '')) continue; $xml .= " <$label>$value\n";