<?php
require_once "class_XmlArray.php";
$xmlArray = new XmlArray();
$xmlArray->set_xml("test.xml");
$array = $xmlArray->xml2array();
print_r($array);
print "------------------------------------------------------------------------------------------------";
$xmlArray->set_name("movies");
$xml = $xmlArray->array2xml($array);
print $xml;
?>
|