Here's a way to merge parts of two XML files with PHP's simpleXML. This also preserves the attributes, which was where the information was stored in my case. This script will not work out of the box for you, so edit it. Use var_dump(), print_r() and friends. <?php $file1 = ... more
I am Nicolas Kuttler, a software and systems engineer from France, currently living in Germany.
I have been working with various web-related technologies for more than a decade... more