weather.xml

Copyright 2001, Gerry de Koning

<?xml version="1.0" encoding="utf-8" ?>

<!--  This XML data file is an example used
      during the XML for Developers tutorial
      offered at Comdex Canada 2001.  It is
      based on data from Environment Canada.
      
      Copyright 2001, Gerry de Koning
  -->

<weather>
  <station id="YYZ">Toronto</station>
  <current>
      <time>17:00 EDT</time>
      <date>5 July 2001</date>
      <day>Thursday</day>
      <conditions>Variable clouds</conditions>
      <temperature><C>18.7</C></temperature>
      <barometer><pressure><kPa>101.14</kPa></pressure>
                 <trend>steady</trend></barometer>
      <wind><speed><kmPerH>42.5</kmPerH></speed>
            <direction>NW</direction></wind>
      <dewPoint><C>6.5</C></dewPoint>
      <relHumidity>45%</relHumidity>
      <visibility><km>24.140</km></visibility>
  </current>
  
  <forecast day="+0">
      <date>5 July 2001</date>
      <day>Thursday night</day>
      <conditions>Cloudy periods</conditions>
      <low><C>11</C></low>
      <pop>20%</pop>
      <wind><direction>W</direction>
            <speed><kmPerH>40</kmPerH></speed>
            <trend>diminishing</trend></wind>
  </forecast>
  
  <forecast day="+1">
      <date>6 July 2001</date>
      <day>Friday</day>
      <conditions>Sunny with cloudy periods</conditions>
      <high><C>23</C></high>
      <pop>0%</pop>
      <uvIndex><value>7.4</value>
               <range>high</range>
      </uvIndex>
      <wind><direction>NW</direction>
            <speed><kmPerH>30</kmPerH></speed>
      </wind>
  </forecast>
  
  <forecast day="+2">
      <date>7 July 2001</date>
      <day>Saturday</day>
      <conditions>Increasing cloudiness early in the morning
                  followed by scattered showers</conditions>
      <high><C>27</C></high>
      <low><C>14</C></low>
      <pop>60%</pop>
  </forecast>
  
  <forecast day="+3">
      <date>8 July 2001</date>
      <day>Sunday</day>
      <conditions>A mix of sun and cloud</conditions>
      <high><C>26</C></high>
      <low><C>14</C></low>
  </forecast>
  
  <forecast day="+4">
      <date>9 July 2001</date>
      <day>Monday</day>
      <conditions>A mix of sun and cloud</conditions>
      <high><C>26</C></high>
      <low><C>14</C></low>
  </forecast>
  
  <normal>
      <high><C>27</C></high>
      <low><C>14</C></low>
  </normal>
  
</weather>