Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Compare Two XML Files

Compare Two XML Files

Scheduled Pinned Locked Moved C / C++ / MFC
c++xmlhelp
5 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    savita_Bgm
    wrote on last edited by
    #1

    I am fresher just before 1 month i joined a IT company. Here i am working on VC++. I want to load two different XML files in VSFlexGrid_1 and VSFlexGrid_2 respectivelly and i need to compare the both xml files. If any mismatch found in the both files it should display in red color and if element not found in any one of xml file it should leave one blank line. I hope you know how the Beyond compare application works. like same my application should work. please help me to code for it. Thanks & Regards Savita

    S T A S 4 Replies Last reply
    0
    • S savita_Bgm

      I am fresher just before 1 month i joined a IT company. Here i am working on VC++. I want to load two different XML files in VSFlexGrid_1 and VSFlexGrid_2 respectivelly and i need to compare the both xml files. If any mismatch found in the both files it should display in red color and if element not found in any one of xml file it should leave one blank line. I hope you know how the Beyond compare application works. like same my application should work. please help me to code for it. Thanks & Regards Savita

      S Offline
      S Offline
      ShilpiP
      wrote on last edited by
      #2

      Click hete ->MSDN Search[^] :)

      I believe in LOVE AT FIRST SITE... Bcoz I have loved my Mother... even since I opened my eyes...(ICAN)

      1 Reply Last reply
      0
      • S savita_Bgm

        I am fresher just before 1 month i joined a IT company. Here i am working on VC++. I want to load two different XML files in VSFlexGrid_1 and VSFlexGrid_2 respectivelly and i need to compare the both xml files. If any mismatch found in the both files it should display in red color and if element not found in any one of xml file it should leave one blank line. I hope you know how the Beyond compare application works. like same my application should work. please help me to code for it. Thanks & Regards Savita

        T Offline
        T Offline
        trelliot
        wrote on last edited by
        #3

        XML files are just text - any diff comparer should do what you want - don't bother re-inventing the wheel.

        1 Reply Last reply
        0
        • S savita_Bgm

          I am fresher just before 1 month i joined a IT company. Here i am working on VC++. I want to load two different XML files in VSFlexGrid_1 and VSFlexGrid_2 respectivelly and i need to compare the both xml files. If any mismatch found in the both files it should display in red color and if element not found in any one of xml file it should leave one blank line. I hope you know how the Beyond compare application works. like same my application should work. please help me to code for it. Thanks & Regards Savita

          A Offline
          A Offline
          Abhi Lahare
          wrote on last edited by
          #4

          As one of the poster already said don;t re-invent the wheel. but you can take a peek into WinMergeU its open source, it sure time consuming. -Regards A

          1 Reply Last reply
          0
          • S savita_Bgm

            I am fresher just before 1 month i joined a IT company. Here i am working on VC++. I want to load two different XML files in VSFlexGrid_1 and VSFlexGrid_2 respectivelly and i need to compare the both xml files. If any mismatch found in the both files it should display in red color and if element not found in any one of xml file it should leave one blank line. I hope you know how the Beyond compare application works. like same my application should work. please help me to code for it. Thanks & Regards Savita

            S Offline
            S Offline
            Shivanand Gupta
            wrote on last edited by
            #5

            Please use winmerge software to comapre to xml or text file.whichever you want. if you want with VC++. please use MSXML sdk or read MSDN. don't try copy paste. that's bad habbit to fresser.

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups