http://qs321.pair.com?node_id=127848

artist has asked for the wisdom of the Perl Monks concerning the following question:

Hi,
I am looking a solution for merging 2 different XML files without using XML::Parser modules.

Both files are in same structure. (Not even requiring DTD)

<A id="a1"> <B id="b1"> <C id="c1"> <D>d1</D> <D>d2</D> </C> <C id="c2"> <D>d3</D> </C> </B> </A>
Just note that ID value a1,b1 etc.. are just the place holders.
I haven't put the actual tags.
and this is not homework.
Thanks,
Artist