Re: XML Data merging

From: Date: Mon, 14 Jan 2008 15:37:17 +0000
Subject: Re: XML Data merging
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-267213@lists.php.net to get a copy of this message
Eric Butera wrote:
On 1/12/08, Naz Gassiep <naz@mira.net> wrote:
I'm using simplexml to fetch data from a set of data files. If I have two files, and one is an update to the other, is there an easy way to merge the two files together, rather than having write logic that checks one and then the other? Both files conform to the same DTD and thus the data in the update will perfectly eclipse the data in the main file. If I can do this it would save me writing a whole bunch of logic. Thanks, - Naz
diff!
Could I trouble you to elaborate? Or at least point to the RTFM url. - Naz.

« previous php.general (#267213) next »