I am using WebRequest and WebReponse classes to get a response from a web api. The response I get is an xml of the following format
<?xml version="1.0" encoding="UTF-8"?>
<ROOT>
<A></A>
<B></B>
<C></C>
<D>
<E NAME="aaa" EMAIL="a@a.com"/>
<E NAME="bbb" EMAIL="b@b.com"/>
</D>
</ROOT>
I want to get all the E
elements as a List<E>
or something.
Can some one guide me on this pls.