• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 264
  • Last Modified:

Help with comparing two xml files and create new xml file with matching data element value


How do I create  File3.xml with all data elements of file1.xml for all records where NSN value in File1.xml equals NSN value in file2.xml using VB.NET?


1 Solution
Randy DownsOWNERCommented:
Maybe this will help.

This article describes a Visual Basic .NET implementation of a diff algorithm, used to compare two text streams or similar lists of objects, and produce an "edit script" which explains how to get from the old to the current by deleting, inserting, or copying lines. Instead of just re-implementing the classic C algorithm, this version exploits the power of VB.NET to keep the code simple, and uses a couple of novel tricks to reduce the amount of processing required, improving the execution speed.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Tackle projects and never again get stuck behind a technical roadblock.
Join Now