I am wondering if it's possible to have a generic class that extracts the table data from an XML file? Like a loop or something via C#?
Here's the sample XML:
<Report>
<Template>
<Stylesheet>
<Table>
<tbody>
<tr>
<td>
<p align="left">Test A</p>
</td>
<td>
<p align="center">Test B</p>
</td>
</tr>
<tr>
<td>
<p align="left">Test C</p>
</td>
<td>
<p align="center">Test D</p>
</td>
</tr>
</tbody>
</Table>
</Stylesheet>
</Template>
</Report>
I need to get those data, Test A Test B Test C and Test D
Any help? Thank you.