Ok let say i have the following xml file
<Users>
<User>
<Name>David</Name>
<Attempts>
<Place>Paris</Paris
<Date>3/29/2012</Date>
<Duration>50 seconds</Duration>
<Distance>100</Distance>
</Attempts>
<Attempts>
<Place>New York</Paris
<Date>7/28/2012</Date>
<Duration>30 seconds</Duration>
<Distance>100</Distance>
</Attempts>
<Attempts>
<Place>Paris</Paris
<Date>8/19/2012</Date>
<Duration>70 seconds</Duration>
<Distance>60</Distance>
</Attempts>
<Attempts>
<Place>New York</Paris
<Date>9/29/2012</Date>
<Duration>60 seconds</Duration>
<Distance>200</Distance>
</Attempts>
</User>
<User>
<Name>Lenny</Name>
<Attempts>
<Place>Paris</Paris
<Date>9/29/2012</Date>
<Duration>51 seconds</Duration>
<Distance>130</Distance>
</Attempts>
</User>
</Users>
So what im trying to find is particular data between 2 time frames depending on what user i chose from a drop down list
Let Say i chose Daniel and i chose a timeframe from a starttextbox to be 2/20/12 and a endtextbox to be 9/30/12 So what i want is a listbox that will display the following
User: Daniel
Information from 2/20/12 to 9/30/12
Average Distance from Paris:80
Average Distance form New York:150
Average Duration from Paris:60 seconds
Average Duration from New York:45 seconds
Total Duration:105 seconds
Total Distance:230
Is this possible to do? If so i need help to do so, any help would be greatly appreciated