Wednesday, 4 March 2015

How to write attributes at the root node in xml writer



i just want to write some attributes at the base/root node using xml writer as given below ... interior elements... i have tried


$xml->setRootName('list',array('last_update'=>'2014-08-08 13:14:15','listing_count'=>'834');


No comments:

Post a Comment