158
Chapter 5 XML Digital Signatures
Figure 5.8 An Example of Weather Data Stored as XML
<?xml version="1.0" encoding="UTF-8"?>
<document>
<header>
<title>The latest weather</title>
</header>
<content>
<weather Id="KMRY">
<location> Monterey, Monterey Peninsula Airport, CA, United States (KMRY)
36-35-26N 121-50-51W 66M </location>
<time> Apr 19, 2002 - 10:54 AM EST / 2002.04.19 1554 UTC </time>
<wind> from the WNW (300 degrees) at 6 MPH (5 KT) </wind>
<visibility> 10 mile(s) </visibility>
<sky> clear </sky>
<temperature> 54.0 F (12.2 C) </temperature>
<dewpt> 46.0 F (7.8 C) </dewpt>
<humidity> 74% </humidity>
<press> 30.15 in. Hg (1020 hPa) </press>
<!-- KMRY 191554Z 30005KT 10SM CLR 12/08 A3015 RMK AO2 SLP223
T01220078 -->
<!-- 16 -->
</weather>
<weather Id="KSFO">
<location> San Francisco, San Francisco International Airport, CA, United
States (KSFO) 37-37-11N 122-21-53W 26M </location>
<time> Apr 19, 2002 - 10:56 AM EST / 2002.04.19 1556 UTC </time>
<wind> from the W (260 degrees) at 5 MPH (4 KT) </wind>
<visibility> 10 mile(s) </visibility>
<sky> clear </sky>
<temperature> 55.9 F (13.3 C) </temperature>
<dewpt> 39.0 F (3.9 C) </dewpt>
<humidity> 52% </humidity>
<press> 30.15 in. Hg (1020 hPa) </press>
<!-- KSFO 191556Z 26004KT 10SM CLR 13/04 A3015 RMK AO2 SLP211
www.syngress.com
Continued