I have two xmls:
first.xml
<text>This is text</text>
<output>This is output</output>
second.xml
<text>This is not text</text>
<output>This is output</output>
I want to compare these two xmls and output should like this
<text>This is <inserted>not</inserted> text</text>
<output>This is output</output>
Means, I want to add a new tag suppose <inserted>
to newly added text.
How to compare these xmls and create new one ?
Thanks for ur time :)
Take a look at diffxml.