Input Files:
XML

<para>some Text</para>
<para>some Text</para>
<para>some Text</para>
<para>some Text</para>
<para>some Text</para>
<para>some Text</para>

Text File

some Text<insert>New Text</insert>
some Text
<delete>some</delete> Text
some Text
some Text
some Text
some Text

OUTPUT:

<para>some TextNew Text</para>
<para>some Text</para>
<para> Text</para>
<para>some Text</para>
<para>some Text</para>
<para>some Text</para>

We have to compare xml file and text file and update the output in XML file.