View Single Post

  #2 (permalink)  
Old 01-12-2008
Eric Butera
 
Posts: n/a
Default Re: [PHP] XML Data merging

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.
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


diff!
Reply With Quote