hi guys ,
I’m trying to read from XML file , but I’m getting the following warning
Warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 1: parser error : Start tag expected, '<' not found in C:\\www\\crm-3\\kml\\readKMLPatch.php on line 23
Call Stack
my script is
if (!function_exists('simplexml_load_file')) exit('<br>function does not exist');
if (file_exists('ss.kml'))
{
$xml = simplexml_load_string('ss.kml');
var_dump($xml);
}
else { exit('<br>Error could not locate XML file'); }
you help will be appreciated