appendChild()
Brought to you by:
bs_php,
nigelswinson
From: <php...@li...> - 2001-10-22 00:35:31
|
Man, that was a ton easier than I expected it to be...I have written an updated appendChild which takes an xmlstring and merges it into the main node array without having to dump and reload the tree (ie, not using export and import, which was way slow)...this new recursive function is about as efficient as you can get with this sort of merge...hopefully we can get this into the CVS asap! Here is the php file and an xml example file which I use to demonstrate the new function. I presume you all have xpath.class.php Dan __________________________________________________ Do You Yahoo!? Make a great connection at Yahoo! Personals. http://personals.yahoo.com |