Hello,
I need to get a XML file from a url:
http://www.domain.com/Regions/List
The XML file has the following format:
<Regions>
<Region>
<Id>1</Id>
<Name>Lisbon</Name>
<Active>True</Active>
<Count>10</Count>
</Region>
<Region>
<Id>2</Id>
<Name>Paris</Name>
<Active>False</Active>
<Count>5</Count>
</Region>
<Regions>
How can I load the file and loop through each Region and get its values?
For each iteraction I need to perform some action with each region values.
Note: Id is an Int, Name is a String, Active is Boolean and Count is an Int.
Thank You,
Miguel