Has anyone used the new DOMi?
I can't get this to work:
function createXML($proparray)
{
include("domi.class.php");
$DOMi = new DOMi('root');
$DOMi->AttachToXML($proparray, 'property');
$DOMi->Render(array(),'RENDER_XML');
}
}
$proparray
is an array: a numeric array holding multiple multidimensional associative arrays
like $proparray[0] => array('field1' => 'data1', 'field2' => array('subfield1' => 'subfielddata1'));