Create plain PHP associative array from XML
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
XML to JSON converter in PHP
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
XML to JSON converter in PHP
Creative Commons Zero v1.0 Universal