[Solved] how to Retrieve date from xml file [closed]


You can use the xml_parse_into_struct() function for an easy to parse XML.

<?php
$simple = "<para><note>simple note</note></para>";
$p = xml_parser_create();
xml_parse_into_struct($p, $simple, $vals, $index);
xml_parser_free($p);
echo "Index array\n";
print_r($index);
echo "\nVals array\n";
print_r($vals);
?>

source

solved how to Retrieve date from xml file [closed]