Let’s have the following input data object:
<Weather date = "2005-05-11" >
<Measurement wind = "5.3"
temperature = "13.0"
time = "05:00" />
<Measurement wind = "7.2"
temperature = "15.2"
time = "11:00" />
<Measurement wind = "8.7"
temperature = "18.1"
time = "15:00" />
<Measurement wind = "3.9"
temperature = "16.5"
time = "20:00" />
</Weather>
As a result, you get the HTML page with the list of measurements and computed average temperature.