Example usage:
$xmlNode = simplexml_load_file('example.xml');
$arrayData = xmlToArray($xmlNode);
echo json_encode($arrayData);
Read the blog post for more info.
License: Public domain
Example usage:
$xmlNode = simplexml_load_file('example.xml');
$arrayData = xmlToArray($xmlNode);
echo json_encode($arrayData);
Read the blog post for more info.
License: Public domain