Hi,
I have the following XML:
<Axis><Collections><Collection><Client><Name>Client ABC</Name><Value>345</Value></Client></Collection><Collection><Client><Name>Client XYZ</Name><Value>4532</Value></Client></Collection><Collection><Client><Name>Client DEF</Name><Value>235</Value></Client></Collection><Collection><Client><Name>Client GHI</Name><Value>8756</Value></Client></Collection><Collection><Client><Name>Client UVW</Name><Value>76</Value></Client></Collection></Collections><Collections><Collection><Client><Name>Client 123</Name><Value>56</Value></Client></Collection><Collection><Client><Name>Client 456</Name><Value>43</Value></Client></Collection><Collection><Client><Name>Client 789</Name><Value>34</Value></Client></Collection><Collection><Client><Name>Client 234</Name><Value>42</Value></Client></Collection><Collection><Client><Name>Client 567</Name><Value>23</Value></Client></Collection></Collections></Axis>
I have this stored in a XDocument object called AxisDoc.
All I need to do is store all values in the name attribute into a List.
How can I do this?
Thanks