This is my XML file:
<?xml version="1.0" standalone="no" ?>
<!-- This file represents The Details of the user and the responces: -->
<Survey>
<Clientdetails>
<ClientName xmlns="yash" />
<ClientCompanyName xmlns="lnt" />
<ClientTelNo. xmlns="546" />
<ClientMobileNo xmlns="56" />
<ClientEMail xmlns="56" />
</Clientdetails>
<ClientResponces>
<Question1>
<responce>1</responce>
</Question1>
<Question2>
<responce>2</responce>
</Question2>
<Question3>
<responce>3</responce>
</Question3>
<Question4>
<responce>3</responce>
</Question4>
<Question5>
<Question5.1>
<responce>3</responce>
</Question5.1>
<Question5.2>
<responce>3</responce>
</Question5.2>
<Question5.3>
<responce>2</responce>
</Question5.3>
<Question5.4>
<responce>3</responce>
</Question5.4>
<Question5.5>
<responce>3</responce>
</Question5.5>
<Question5.6>
<responce>3</responce>
</Question5.6>
<Question5.7>
<responce>3</responce>
</Question5.7>
<Question5.8>
<responce>2</responce>
</Question5.8>
<Question5.9>
<responce>1</responce>
</Question5.9>
<Question5.10>
<responce>2</responce>
</Question5.10>
<Question5.11>
<responce>0</responce>
</Question5.11>
<Question5.12>
<responce>0</responce>
</Question5.12>
<Question5.13>
<responce>0</responce>
</Question5.13>
<Question5.14>
<responce>0</responce>
</Question5.14>
<Question5.15>
<responce>0</responce>
</Question5.15>
<Question5.16>
<responce>0</responce>
</Question5.16>
<Question5.17>
<responce>0</responce>
</Question5.17>
</Question5>
</ClientResponces>
</Survey>
I want to read this data into a DataSet. I want just the responses given by the client, and for 5th question I want the average of its 17 sub-questions.
For example, the DataSet should only contain this:
1
2
3
3
4
How to do this in C#?