I have the following XML file:
<XmlSports xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" CreateDate="2014-11-17T14:46:38.6954+01:00">
<Sport Name="SOCCER" ID="7">
<Event Name="African Nations Cup" ID="54" IsLive="false">
<Match Name="DR Congo v Sierra Leone" ID="1552163" StartDate="2014-11-19T15:00:00.1+01:00">
<Bet Name="Double Chance" ID="6337125"/>
<Bet Name="Draw No Bet" ID="6337124"/>
<Bet Name="Match Odds" ID="6337119"/>
<Bet Name="Odds or Evens" ID="6337123"/>
<Bet Name="Over/Under" ID="6337121"/>
</Match>
</Event>
</Sport>
I am just including a small portion of the file but basically this file includes other sports aside from just soccer, separated by 'Sport Name="NAME OF SPORT" ID="ID OF SPORT"'.
I want to extract just the SOCCER node. I have tried using XPath but have not succeeded. How can I extract just the 'Sport Name="SOCCER" ID="7"' part out of this XML?