Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7043471
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T02:17:38+00:00 2026-05-28T02:17:38+00:00

I have a challenging question. My requirement is like i have a xml file

  • 0

I have a challenging question. My requirement is like i have a xml file which has values like

Name 0,20 
age 21,4 

This is like field names values will be there in the following position. I have 100 records like this in my xml file. I want to dynamically read this xml file which is the layout. and to compare two output files generated by two different companies. Output1 and Output2… where the values for Name at the position and age at the position will be there. I want to read the values and manually show the user that there is a differences in the two files at these areas.

Is there any dynamic viewer control available in .net, C# windows , wpf app to display these differences in two files?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T02:17:38+00:00Added an answer on May 28, 2026 at 2:17 am

    One of several possible solutions that come to my mind is:

    1. Use XPathNavigator to parse those 3, in practice, files and compare their content.
    2. For visualization use WPF RichTextBox, were you can load complete formatted text and format/color part of it, which you can use for highlighting the differnces found.

    WPF RichTextBox Sample1
    WPF RichTextBox Sample2

    You need to consider that the WPF TextBox is, basically, easy to use but also addicted to consume a lot of memory, so keep an eye on the memory consumption of your app.

    There are, naturally other editors, that you can use, like Scintilla, but I think the story in this case become more complicated.

    EDIT:
    There could be another non programming solution, is just using WinMerge and run that program (which is free) with required parameters. So it will care about showing/highlighting the differences found between 2 different files.

    Choice is up to you.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a challenging question for you big experts. This has not yet a
I have a single column table which looks like this: Gaming | Austria |
I have been searching the answer to this question for a while. It seemed
I have a challenging problem where I would like to use reflection on my
This is probably a really easy question, so apologies for not being more challenging!
I know very little about regex so this has proven very challenging for me.
This question is challenging to get more understanding on Image Processing using pure C.
I'm experiencing a challenging problem, which has not been solvable - hopefully until now.
Have just started using Visual Studio Professional's built-in unit testing features, which as I
Have you managed to get Aptana Studio debugging to work? I tried following this,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.