I have two XML files that represents two relational tables that have relation in between. The files are as below: Exam.XML
<?xml version="1.0" encoding="utf-8" ?>
<Exam>
<Student id='1'>
<result>100 </result>
</Student >
<Student id='2'>
<result>200 </result>
</Student >
</Exam>
Student.XML
<?xml version="1.0" encoding="utf-8" ?>
<Students>
<Student id='1'>
<name>John</name>
</Student >
<Student id='2'>
<name>Mark </name>
</Student >
and the result should be
StudentID StudentName Result
1 John 100
2 Mark 200
How to implement this in c#? Note: my file are not that simple, so merging them will not be helpful