I have to read the XML:
<items>
<item>
<prop1>value1</prop1>
<prop2>value2</prop2>
<prop3>value3</prop3>
</item>
<item>
<prop1>value1</prop1>
<prop2>value2</prop2>
<prop3>value3</prop3>
</item>
</items>
And put the values into a List<CLASS>
.
Some options:
- Use XMLSerializer to deserialize to a List
- Use XMLDocument to read each item using SelectNodes with XPath and put the values into a List
- Use XMLReader to read each node and put the values into a List
- Other option...