Hey guys. how u doing?
Please i need some help with my project. I must make a program that take 2 or more xml files ( THAT I DONT KNOW THEIR CONTENT ) and then join them into one file. I must load those files one by one then when i click join it will join them.
The code of the program is based on PHP. And i am not able to get some results by myself.
The idea is if i have as an example those 2 XML files :
File1:
<?xml version='1.0' standalone='yes'?>
<movies>
<movie>
<title>PHP: Behind the Parser</title>
<characters>
<character>
<name>Ms. Coder</name>
<actor>Onlivia Actora</actor>
</character>
<character>
<name>Mr. Coder</name>
<actor>El Act</actor>
</character>
</characters>
<movie>
<movies>
File 2:
<?xml version='1.0' standalone='yes'?>
<movies>
<movie>
<plot>
So, this language. It's like, a programming language. Or is it a
scripting language? All is revealed in this thrilling horror spoof
of a documentary.
</plot>
<great-lines>
<line>PHP solves all my web problems</line>
</great-lines>
<rating type="thumbs">7</rating>
<rating type="stars">5</rating>
</movie>
</movies>
The result will be:
<?xml version='1.0' standalone='yes'?>
<movies>
<movie>
<title>PHP: Behind the Parser</title>
<characters>
<character>
<name>Ms. Coder</name>
<actor>Onlivia Actora</actor>
</character>
<character>
<name>Mr. Coder</name>
<actor>El Act</actor>
</character>
</characters>
<plot>
So, this language. It's like, a programming language. Or is it a
scripting language? All is revealed in this thrilling horror spoof
of a documentary.
</plot>
<great-lines>
<line>PHP solves all my web problems</line>
</great-lines>
<rating type="thumbs">7</rating>
<rating type="stars">5</rating>
</movie>
</movies>
I am really thankfull for any help . Maybe u can put me on the way so i can continue myself this program.
Please reply ASAP.
THANKS AGAIN.
MOD EDIT: Added code tags