Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How can compare two xml files.........

807598Jul 1 2006 — edited Aug 11 2006
Hi developers..........
I have a problem in compare two xml files.My project description is I take two xml(file1,file2) files.Compare file1 with file2. Now I want what are the same words in to the file2.
file1:
<hello>
<html>
<jsp:plugin>
file2:
-----
<hello>
<jsp:usebean>
<html>

result:
------
<hello>

any give the code for this logic.....
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 8 2006
Added on Jul 1 2006
5 comments
119 views