How would I select an attribute in this scenario.
<Values>
<YearRow Year='1' Date = '2009/01/01' Amount = '1000.00'/>
<YearRow Year='2' Date = '2009/02/01' Amount = '2000.00'/>
<YearRow Year='2' Date = '2009/03/01' Amount = '3000.00'/>
</Values>
For example I want to select Date where Year = '2' using XPath.
Thanks in advance,
BK
<Values>
<YearRow Year='1' Date = '2009/01/01' Amount = '1000.00'/>
<YearRow Year='2' Date = '2009/02/01' Amount = '2000.00'/>
<YearRow Year='2' Date = '2009/03/01' Amount = '3000.00'/>
</Values>
For example I want to select Date where Year = '2' using XPath.
Thanks in advance,
BK