compare xml files using java

compare xml files using java

Page 1 of 1

4 Replies - 7623 Views - Last Post: 07 June 2010 - 08:42 AM Rate Topic: -----

#1 JMayura  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 9
  • Joined: 06-June 10

compare xml files using java

Posted 06 June 2010 - 11:40 PM

how to compare 2 xml files using java ?
Is This A Good Question/Topic? 0
  • +

Replies To: compare xml files using java

#2 aniri  Icon User is offline

  • D.I.C Addict
  • member icon

Reputation: 54
  • View blog
  • Posts: 657
  • Joined: 24-November 09

Re: compare xml files using java

Posted 06 June 2010 - 11:53 PM

Use an xml parser to read from the files and compare them...

Here's an example on reading from xml files.
Was This Post Helpful? 0
  • +
  • -

#3 chirag.jain18  Icon User is offline

  • D.I.C Head

Reputation: 13
  • View blog
  • Posts: 68
  • Joined: 14-December 09

Re: compare xml files using java

Posted 07 June 2010 - 12:34 AM

read the files into Strings and then compare the strings
Was This Post Helpful? 0
  • +
  • -

#4 Guest_JMayura*


Reputation:

Re: compare xml files using java

Posted 07 June 2010 - 01:23 AM

how to use JEXAMxml in web application ?
Was This Post Helpful? 0

#5 macosxnerd101  Icon User is online

  • Self-Trained Economist
  • member icon




Reputation: 10364
  • View blog
  • Posts: 38,390
  • Joined: 27-December 08

Re: compare xml files using java

Posted 07 June 2010 - 08:42 AM

Read the API.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1