I have the XML shown below. I want to read the XML attributes and the elements using openxml, please could you help me out?
<Report>
<Datapoints>
<Datapoint>10</Datapoint>
<Datapoint>11</Datapoint>
</Datapoints>
<Filters>
<Filter Id="5" FilterTypeId="4">
<Option2>21</Option2>
<Option2>22</Option2>
<Option2>23</Option2>
</Filter>
<Filter Id="6" FilterTypeId="4">
<Option2>21</Option2>
<Option2>22</Option2>
<Option2>23</Option2>
</Filter>
</Filters>
</Report>
I want to read the attributes in tag Filter (Id and FilterTypeId) along with element option2.