AppTools.com
Web Development Tools that Enlighten
Sample XML Data
Here is an example of what the XML data from the National Weather service might look like:
<?xml version="1.0" encoding="UTF-8"?>
<current_observation>
<credit>NOAA's National Weather Service</credit>
<credit_URL>http://weather.gov/</credit_URL>
<image>
<url>http://weather.gov/images/xml_logo.gif</url>
<title>NOAA's National Weather Service</title>
<link>http://weather.gov</link>
</image>
<suggested_pickup>15 minutes after the hour</suggested_pickup>
<suggested_pickup_period>60</suggested_pickup_period>
<location>Olathe, Johnson County Executive Airport, KS</location>
<station_id>KOJC</station_id>
<latitude>NA</latitude><longitude>NA</longitude>
<elevation>NA</elevation>
<observation_time>Last Updated on May 18, 8:53 am CDT</observation_time>
<weather>Fair and Breezy</weather>
<temperature_string>68 F (20 C)</temperature_string>
<temp_f>68</temp_f>
<temp_c>20</temp_c>
<relative_humidity>63</relative_humidity>
<wind_string>From the South at 21 Gusting to 28 MPH</wind_string>
<wind_dir>South</wind_dir>
<wind_degrees>170</wind_degrees>
<wind_mph>20.7</wind_mph>
<wind_gust_mph>28</wind_gust_mph>
<pressure_string>29.78" (1007.4 mb)</pressure_string>
<pressure_mb>1007.4</pressure_mb>
<pressure_in>29.78</pressure_in>
<dewpoint_string>55 F (13 C)</dewpoint_string>
<dewpoint_f>55</dewpoint_f>
<dewpoint_c>13</dewpoint_c>
<heat_index_string>75 F (24 C)</heat_index_string>
<heat_index_f>75</heat_index_f>
<heat_index_c>24</heat_index_c>
<windchill_string>Not Applicable</windchill_string>
<windchill_f>Not Applicable</windchill_f>
<windchill_c>Not Applicable</windchill_c>
<visibility>8.00 mi.</visibility>
<two_day_history_url>http://www.weather.gov/data/obhistory/KOJC.html</two_day_history_url>
<ob_url>http://www.nws.noaa.gov/data/METAR/KOJC.1.txt</ob_url>
<disclaimer_url>http://weather.gov/disclaimer.html</disclaimer_url>
<copyright_url>http://weather.gov/disclaimer.html</copyright_url>
<privacy_policy_url>http://weather.gov/notice.html</privacy_policy_url>
</current_observation>