Compare xml files using msxml-VBForums
Results 1 to 5 of 5

Thread: Compare xml files using msxml

  1. #1

    Thread Starter
    Member
    Join Date
    Sep 2001
    Location
    Hyderabad, India
    Posts
    51

    Compare xml files using msxml

    Hi,

    I am working on a new assignment on comparing two xml files. The expected behaviour is the program should check and compare the nodes. the nodes could be scattered anywhere in the source or target file.

    If a node at location x in the source file is found in the y location of target xml file then the program should ignore and treat the files as similar.

    If there is an excess node in target xml, then it should prompt the user about the addition.

    Same is the case with updations, deletion of nodes etc.

    I request you to please guide me on how to proceed with this kind of requirement.

    I would be using msxml api for the above.

    thanks

  2. #2
    PowerPoster Nightwalker83's Avatar
    Join Date
    Dec 2001
    Location
    Adelaide, Australia
    Posts
    12,959

    Re: Compare xml files using msxml

    What code do you have so far?
    when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
    If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
    Please consider giving me some rep points if I help you a lot.
    Links to my code examples can now be found on my website: My websites
    Please rate my post if you find it helpful!
    Technology is a dangerous thing in the hands of an idiot! I am that idiot.

  3. #3

    Thread Starter
    Member
    Join Date
    Sep 2001
    Location
    Hyderabad, India
    Posts
    51

    Re: Compare xml files using msxml

    I do not have any code as of now.. Just looking for what are the best ways and apis to start with.

  4. #4
    Frenzied Member
    Join Date
    Jul 2008
    Location
    Rep of Ireland
    Posts
    1,381

    Re: Compare xml files using msxml

    I wonder in this case would the IComparable interface help you?

  5. #5
    New Member
    Join Date
    Mar 2011
    Posts
    1

    Re: Compare xml files using msxml

    i have also the same requirement to compare two xml files.
    Please let me know how did u solve this?

Posting Permissions

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



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.