DOMXML

From: Date: Mon, 19 May 2003 04:23:44 +0000
Subject: DOMXML
Groups: php.general 
Request: Send a blank email to php-general+get-148137@lists.php.net to get a copy of this message
I am trying to figure out a basic DOMXML function where i can replace the content of a domnode with that from a a submitted form... I just need to replace something like <story><title>replace this</title></story> I have tried essentially getting down to that node and using set_content() and then trying dump_file() but that didnt work. I figure I have to use the create_element(), append_child() method but I am really struggling with that. Anyone got any pointers? Or a snippet that could help me out? Thanks a million. Russ Jones

« previous php.general (#148137) next »