Results 1 to 2 of 2

Thread: Compare 2 XML

  1. #1
    Peter is offline Senior Member
    Join Date
    Jun 2007
    Rep Power

    Default Compare 2 XML

    Are there any pre-made classes out there that can take 2 XML files that adhere to the same DTD/Schema rules and compare them against each other.

    For example
    Java Code:
    <student id=1234>
    <name>Joe Bloggs</name>
    I'd want to he able to see
    Students in File1 (the primary file) that are also in File2.
    Students in File1 who are also in File2, but whose name or address is different.

    any ideas?

  2. #2
    bbq is offline Senior Member
    Join Date
    Jun 2007
    Rep Power


    "DiffDog professional Edition from Altova" is a good tool.

    Except retrieving XML data from database it has many good features.

    If you don't want to spend that much on DiffDog from Altova, you can consider using "ExamXML from A7soft", it is also a good tool.

Similar Threads

  1. How to Compare two Dates
    By Java Tip in forum java.util
    Replies: 1
    Last Post: 06-24-2008, 07:05 AM
  2. Compare 5 numbers
    By Snowboardmylife in forum New To Java
    Replies: 5
    Last Post: 04-15-2008, 07:04 PM
  3. Compare lists
    By JavaNoob in forum New To Java
    Replies: 2
    Last Post: 08-08-2007, 03:11 PM
  4. how to compare two strings
    By elizabeth in forum New To Java
    Replies: 7
    Last Post: 08-06-2007, 03:57 AM
  5. compare speed
    By bbq in forum JDBC
    Replies: 1
    Last Post: 06-28-2007, 05:34 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts