se ti puo interessare:Codice PHP:
$xml=simplexml_load_file("il_tuo_file.xml");
$new_node=$xml->addChild('nuovonodo','valore');
$new_node->addAttribute('nuovo_attr','valore');
$xml->asXML('path/dove/salvare il file/file.xml');
http://www.cyberfox.netsons.org/blog...p?a=view&id=13

Rispondi quotando