Hi,
I have to merge about 10 XML files with PHP and they all have the same structure but when I put :
$docG = domxml_open_file("C:\FileG.xml") ;
$doc1 = domxml_open_file("C:\File1.xml") ;
$doc2 = domxml_open_file("C:\File2.xml") ;
$node = $docG->append_child($doc1);
$node = $docG->append_child($doc2);
i don’t know if my code is realy correct but I always have :
Warning: append_child(): Can't append node, which is in a different
document than the parent node...
I've found this article : http://pear.php.net/bugs/bug.php?id=1110&edit=1 but I don't know how to solve.
Please help me, I'm feed up...