Ugh - failed to parse the XML. (This is most likely caused by bad XML content.)
FATAL - Failed to parse the XML.
Tried to read file:
This is the content retrieved:
<?xml version="1.0" encoding="ISO-8859-1"?> <dwml version="1.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://graphical.weather.gov/xml/DWMLgen/schema/DWML.xsd"> <head> <product concise-name="dwmlByDay" operational-mode="developmental" srsName="WGS 1984"> <creation-date refresh-frequency='PT1H'>2020-05-17T17:38:56-05:00</creation-date> <category>current observations and forecast</category> </product> <source> <production-center>Twin Cities/Chanhassen, MN</production-center> <credit>https://www.weather.gov/mpx</credit> <more-information>http://www.nws.noaa.gov/forecasts/xml/</more-information> </source> </head> <data type="forecast"> <location> <location-key>point1</location-key> <description>Elko, MN</description> <point latitude="44.57" longitude="-93.32"/> <city state="MN">Elko</city> <height datum="mean sea level">1129</height> </location> <moreWeatherInformation applicable-location="point1">http://forecast.weather.gov/MapClick.php?lat=44.57&lon=-93.32</moreWeatherInformation> <time-layout time-coordinate="local" summarization="12hourly"> <layout-key>k-p12h-n14-1</layout-key> <start-valid-time period-name="Tonight">2020-05-17T18:00:00-05:00</start-valid-time> <start-valid-time period-name="Monday">2020-05-18T06:00:00-05:00</start-valid-time> <start-valid-time period-name="Monday Night">2020-05-18T18:00:00-05:00</start-valid-time> <start-valid-time period-name="Tuesday">2020-05-19T06:00:00-05:00</start-valid-time> <start-valid-time period-name="Tuesday Night">2020-05-19T18:00:00-05:00</start-valid-time> <start-valid-time period-name="Wednesday">2020-05-20T06:00:00-05:00</start-valid-time> <start-valid-time period-name="Wednesday Night">2020-05-20T18:00:00-05:00</start-valid-time> <start-valid-time period-name="Thursday">2020-05-21T06:00:00-05:00</start-valid-time> <start-valid-time period-name="Thursday Night">2020-05-21T18:00:00-05:00</start-valid-time> <start-valid-time period-name="Friday">2020-05-22T06:00:00-05:00</start-valid-time> <start-valid-time period-name="Friday Night">2020-05-22T18:00:00-05:00</start-valid-time> <start-valid-time period-name="Saturday">2020-05-23T06:00:00-05:00</start-valid-time> <start-valid-time period-name="Saturday Night">2020-05-23T18:00:00-05:00</start-valid-time> <start-valid-time period-name="Sunday">2020-05-24T06:00:00-05:00</start-valid-time> </time-layout> <time-layout time-coordinate="local" summarization="12hourly"> <layout-key>k-p24h-n7-1</layout-key> <start-valid-time period-name="Tonight">2020-05-17T18:00:00-05:00</start-valid-time> <start-valid-time period-name="Monday Night">2020-05-18T18:00:00-05:00</start-valid-time> <start-valid-time period-name="Tuesday Night">2020-05-19T18:00:00-05:00</start-valid-time> <start-valid-time period-name="Wednesday Night">2020-05-20T18:00:00-05:00</start-valid-time> <start-valid-time period-name="Thursday Night">2020-05-21T18:00:00-05:00</start-valid-time> <start-valid-time period-name="Friday Night">2020-05-22T18:00:00-05:00</start-valid-time> <start-valid-time period-name="Saturday Night">2020-05-23T18:00:00-05:00</start-valid-time> </time-layout> <time-layout time-coordinate="local" summarization="12hourly"> <layout-key>k-p24h-n7-2</layout-key> <start-valid-time period-name="Monday">2020-05-18T06:00:00-05:00</start-valid-time> <start-valid-time period-name="Tuesday">2020-05-19T06:00:00-05:00</start-valid-time> <start-valid-time period-name="Wednesday">2020-05-20T06:00:00-05:00</start-valid-time> <start-valid-time period-name="Thursday">2020-05-21T06:00:00-05:00</start-valid-time> <start-valid-time period-name="Friday">2020-05-22T06:00:00-05:00</start-valid-time> <start-valid-time period-name="Saturday">2020-05-23T06:00:00-05:00</start-valid-time> <start-valid-time period-name="Sunday">2020-05-24T06:00:00-05:00</start-valid-time> </time-layout> <parameters applicable-location="point1"> <temperature type="minimum" units="Fahrenheit" time-layout="k-p24h-n7-1"> <name>Daily Minimum Temperature</name> <value>47</value> <value>48</value> <value>54</value> <value>56</value> <value>60</value> <value>60</value> <value>61</value> </temperature> <temperature type="maximum" units="Fahrenheit" time-layout="k-p24h-n7-2"> <name>Daily Maximum Temperature</name> <value>64</value> <value>69</value> <value>74</value> <value>74</value> <value>78</value> <value>80</value> <value>78</value> </temperature> <probability-of-precipitation type="12 hour" units="percent" time-layout="k-p12h-n14-1"> <name>12 Hourly Probability of Precipitation</name> <value>100</value> <value>10</value> <value xsi:nil="true"></value> <value xsi:nil="true"></value> <value xsi:nil="true"></value> <value xsi:nil="true"></value> <value xsi:nil="true"></value> <value xsi:nil="true"></value> <value xsi:nil="true"></value> <value>30</value> <value>50</value> <value>50</value> <value>50</value> <value>50</value> </probability-of-precipitation> <weather time-layout="k-p12h-n14-1"> <name>Weather Type, Coverage, Intensity</name> <weather-conditions weather-summary="Rain and Breezy then Chance Rain"/> <weather-conditions weather-summary="Slight Chance Rain then Mostly Cloudy"/> <weather-conditions weather-summary="Mostly Cloudy"/> <weather-conditions weather-summary="Partly Sunny"/> <weather-conditions weather-summary="Mostly Cloudy"/> <weather-conditions weather-summary="Partly Sunny"/> <weather-conditions weather-summary="Partly Cloudy"/> <weather-conditions weather-summary="Mostly Sunny"/> <weather-conditions weather-summary="Partly Cloudy"/> <weather-conditions weather-summary="Chance T-storms"/> <weather-conditions weather-summary="Chance T-storms"/> <weather-conditions weather-summary="Chance T-storms"/> <weather-conditions weather-summary="Chance T-storms"/> <weather-conditions weather-summary="Chance T-storms"/> </weather> <conditions-icon type="forecast-NWS" time-layout="k-p12h-n14-1"> <name>Conditions Icon</name> <icon-link>http://forecast.weather.gov/DualImage.php?i=nra&j=nra&ip=100&jp=30</icon-link> <icon-link>http://forecast.weather.gov/DualImage.php?i=ra&j=bkn&ip=10</icon-link> <icon-link>http://forecast.weather.gov/newimages/medium/nbkn.png</icon-link> <icon-link>http://forecast.weather.gov/newimages/medium/bkn.png</icon-link> <icon-link>http://forecast.weather.gov/newimages/medium/nbkn.png</icon-link> <icon-link>http://forecast.weather.gov/newimages/medium/bkn.png</icon-link> <icon-link>http://forecast.weather.gov/newimages/medium/nsct.png</icon-link> <icon-link>http://forecast.weather.gov/newimages/medium/sct.png</icon-link> <icon-link>http://forecast.weather.gov/newimages/medium/nsct.png</icon-link> <icon-link>http://forecast.weather.gov/newimages/medium/hi_tsra30.png</icon-link> <icon-link>http://forecast.weather.gov/newimages/medium/nscttsra50.png</icon-link> <icon-link>http://forecast.weather.gov/newimages/medium/scttsra50.png</icon-link> <icon-link>http://forecast.weather.gov/newimages/medium/hi_ntsra50.png</icon-link> <icon-link>http://forecast.weather.gov/newimages/medium/scttsra50.png</icon-link> </conditions-icon> <hazards time-layout=""> <name>Watches, Warnings, and Advisories</name> <hazard-conditions> <hazard headline="Hazardous Weather Outlook"> <hazardTextURL>http://forecast.weather.gov/showsigwx.php?warnzone=MNZ069&warncounty=MNC139&firewxzone=MNZ069&local_place1=Elko+MN&product1=Hazardous+Weather+Outlook</hazardTextURL> </hazard> </hazard-conditions> </hazards> <wordedForecast time-layout="k-p12h-n14-1" dataSource="mpxNetcdf" wordGenerator="markMitchell"> <name>Text Forecast</name> <text>Rain, mainly before 10pm. Low around 47. Breezy, with a north northeast wind 15 to 20 mph, with gusts as high as 30 mph. Chance of precipitation is 100%. New precipitation amounts between a tenth and quarter of an inch possible. </text> <text>A 10 percent chance of rain before 7am. Mostly cloudy, with a high near 64. Northeast wind around 15 mph, with gusts as high as 30 mph. </text> <text>Mostly cloudy, with a low around 48. Northeast wind 10 to 15 mph. </text> <text>Partly sunny, with a high near 69. East wind around 10 mph. </text> <text>Mostly cloudy, with a low around 54. East southeast wind 5 to 10 mph. </text> <text>Partly sunny, with a high near 74. East southeast wind 5 to 10 mph. </text> <text>Partly cloudy, with a low around 56. Southeast wind around 10 mph. </text> <text>Mostly sunny, with a high near 74. South southeast wind 10 to 15 mph. </text> <text>Partly cloudy, with a low around 60. South southeast wind around 10 mph. </text> <text>A 30 percent chance of showers and thunderstorms, mainly after 2pm. Mostly sunny, with a high near 78. South wind around 10 mph. </text> <text>A 50 percent chance of showers and thunderstorms. Mostly cloudy, with a low around 60. South southeast wind 5 to 10 mph. </text> <text>A 50 percent chance of showers and thunderstorms. Partly sunny, with a high near 80. South wind 5 to 10 mph. </text> <text>A 50 percent chance of showers and thunderstorms. Partly cloudy, with a low around 61. South southeast wind around 5 mph. </text> <text>A 50 percent chance of showers and thunderstorms. Partly sunny, with a high near 78. South wind 5 to 10 mph. </text> </wordedForecast> </parameters> </data> <data type="current observations"> <location> <location-key>point1</location-key> <point latitude="44.63" longitude="-93.23"/> <area-description>Minneapolis, Airlake Airport, MN</area-description> <height datum="mean sea level" height-units="feet">961</height> </location> <moreWeatherInformation applicable-location="point1">http://www.nws.noaa.gov/data/obhistory/KLVN.html</moreWeatherInformation> <time-layout time-coordinate="local"> <layout-key>k-p1h-n1-1</layout-key> <start-valid-time period-name="current">2020-05-17T18:15:00-05:00</start-valid-time> </time-layout> <parameters applicable-location="point1"> <temperature type="apparent" units="Fahrenheit" time-layout="k-p1h-n1-1"> <value>54</value> </temperature> <temperature type="dew point" units="Fahrenheit" time-layout="k-p1h-n1-1"> <value>54</value> </temperature> <humidity type="relative" time-layout="k-p1h-n1-1"> <value>100</value> </humidity> <weather time-layout="k-p1h-n1-1"> <name>Weather Type, Coverage, Intensity</name> <weather-conditions weather-summary=" Heavy Rain and Breezy"/> <weather-conditions> <value> <visibility units="statute miles">10.00</visibility> </value> </weather-conditions> </weather> <conditions-icon type="forecast-NWS" time-layout="k-p1h-n1-1"> <name>Conditions Icon</name> <icon-link>http://forecast.weather.gov/newimages/medium/ra.png</icon-link> </conditions-icon> <direction type="wind" units="degrees true" time-layout="k-p1h-n1-1"> <value>30</value> </direction> <wind-speed type="gust" units="knots" time-layout="k-p1h-n1-1"> <value>21</value> </wind-speed> <wind-speed type="sustained" units="knots" time-layout="k-p1h-n1-1"> <value>18</value> </wind-speed> <pressure type="barometer" units="inches of mercury" time-layout="k-p1h-n1-1"> <value>29.91</value> </pressure> </parameters></data>
<?xml version="1.0" encoding="ISO-8859-1"?> <dwml version="1.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://graphical.weather.gov/xml/DWMLgen/schema/DWML.xsd"> <head> <product concise-name="dwmlByDay" operational-mode="developmental" srsName="WGS 1984"> <creation-date refresh-frequency='PT1H'>2020-05-17T17:38:56-05:00</creation-date> <category>current observations and forecast</category> </product> <source> <production-center>Twin Cities/Chanhassen, MN</production-center> <credit>https://www.weather.gov/mpx</credit> <more-information>http://www.nws.noaa.gov/forecasts/xml/</more-information> </source> </head> <data type="forecast"> <location> <location-key>point1</location-key> <description>Elko, MN</description> <point latitude="44.57" longitude="-93.32"/> <city state="MN">Elko</city> <height datum="mean sea level">1129</height> </location> <moreWeatherInformation applicable-location="point1">http://forecast.weather.gov/MapClick.php?lat=44.57&lon=-93.32</moreWeatherInformation> <time-layout time-coordinate="local" summarization="12hourly"> <layout-key>k-p12h-n14-1</layout-key> <start-valid-time period-name="Tonight">2020-05-17T18:00:00-05:00</start-valid-time> <start-valid-time period-name="Monday">2020-05-18T06:00:00-05:00</start-valid-time> <start-valid-time period-name="Monday Night">2020-05-18T18:00:00-05:00</start-valid-time> <start-valid-time period-name="Tuesday">2020-05-19T06:00:00-05:00</start-valid-time> <start-valid-time period-name="Tuesday Night">2020-05-19T18:00:00-05:00</start-valid-time> <start-valid-time period-name="Wednesday">2020-05-20T06:00:00-05:00</start-valid-time> <start-valid-time period-name="Wednesday Night">2020-05-20T18:00:00-05:00</start-valid-time> <start-valid-time period-name="Thursday">2020-05-21T06:00:00-05:00</start-valid-time> <start-valid-time period-name="Thursday Night">2020-05-21T18:00:00-05:00</start-valid-time> <start-valid-time period-name="Friday">2020-05-22T06:00:00-05:00</start-valid-time> <start-valid-time period-name="Friday Night">2020-05-22T18:00:00-05:00</start-valid-time> <start-valid-time period-name="Saturday">2020-05-23T06:00:00-05:00</start-valid-time> <start-valid-time period-name="Saturday Night">2020-05-23T18:00:00-05:00</start-valid-time> <start-valid-time period-name="Sunday">2020-05-24T06:00:00-05:00</start-valid-time> </time-layout> <time-layout time-coordinate="local" summarization="12hourly"> <layout-key>k-p24h-n7-1</layout-key> <start-valid-time period-name="Tonight">2020-05-17T18:00:00-05:00</start-valid-time> <start-valid-time period-name="Monday Night">2020-05-18T18:00:00-05:00</start-valid-time> <start-valid-time period-name="Tuesday Night">2020-05-19T18:00:00-05:00</start-valid-time> <start-valid-time period-name="Wednesday Night">2020-05-20T18:00:00-05:00</start-valid-time> <start-valid-time period-name="Thursday Night">2020-05-21T18:00:00-05:00</start-valid-time> <start-valid-time period-name="Friday Night">2020-05-22T18:00:00-05:00</start-valid-time> <start-valid-time period-name="Saturday Night">2020-05-23T18:00:00-05:00</start-valid-time> </time-layout> <time-layout time-coordinate="local" summarization="12hourly"> <layout-key>k-p24h-n7-2</layout-key> <start-valid-time period-name="Monday">2020-05-18T06:00:00-05:00</start-valid-time> <start-valid-time period-name="Tuesday">2020-05-19T06:00:00-05:00</start-valid-time> <start-valid-time period-name="Wednesday">2020-05-20T06:00:00-05:00</start-valid-time> <start-valid-time period-name="Thursday">2020-05-21T06:00:00-05:00</start-valid-time> <start-valid-time period-name="Friday">2020-05-22T06:00:00-05:00</start-valid-time> <start-valid-time period-name="Saturday">2020-05-23T06:00:00-05:00</start-valid-time> <start-valid-time period-name="Sunday">2020-05-24T06:00:00-05:00</start-valid-time> </time-layout> <parameters applicable-location="point1"> <temperature type="minimum" units="Fahrenheit" time-layout="k-p24h-n7-1"> <name>Daily Minimum Temperature</name> <value>47</value> <value>48</value> <value>54</value> <value>56</value> <value>60</value> <value>60</value> <value>61</value> </temperature> <temperature type="maximum" units="Fahrenheit" time-layout="k-p24h-n7-2"> <name>Daily Maximum Temperature</name> <value>64</value> <value>69</value> <value>74</value> <value>74</value> <value>78</value> <value>80</value> <value>78</value> </temperature> <probability-of-precipitation type="12 hour" units="percent" time-layout="k-p12h-n14-1"> <name>12 Hourly Probability of Precipitation</name> <value>100</value> <value>10</value> <value xsi:nil="true"></value> <value xsi:nil="true"></value> <value xsi:nil="true"></value> <value xsi:nil="true"></value> <value xsi:nil="true"></value> <value xsi:nil="true"></value> <value xsi:nil="true"></value> <value>30</value> <value>50</value> <value>50</value> <value>50</value> <value>50</value> </probability-of-precipitation> <weather time-layout="k-p12h-n14-1"> <name>Weather Type, Coverage, Intensity</name> <weather-conditions weather-summary="Rain and Breezy then Chance Rain"/> <weather-conditions weather-summary="Slight Chance Rain then Mostly Cloudy"/> <weather-conditions weather-summary="Mostly Cloudy"/> <weather-conditions weather-summary="Partly Sunny"/> <weather-conditions weather-summary="Mostly Cloudy"/> <weather-conditions weather-summary="Partly Sunny"/> <weather-conditions weather-summary="Partly Cloudy"/> <weather-conditions weather-summary="Mostly Sunny"/> <weather-conditions weather-summary="Partly Cloudy"/> <weather-conditions weather-summary="Chance T-storms"/> <weather-conditions weather-summary="Chance T-storms"/> <weather-conditions weather-summary="Chance T-storms"/> <weather-conditions weather-summary="Chance T-storms"/> <weather-conditions weather-summary="Chance T-storms"/> </weather> <conditions-icon type="forecast-NWS" time-layout="k-p12h-n14-1"> <name>Conditions Icon</name> <icon-link>http://forecast.weather.gov/DualImage.php?i=nra&j=nra&ip=100&jp=30</icon-link> <icon-link>http://forecast.weather.gov/DualImage.php?i=ra&j=bkn&ip=10</icon-link> <icon-link>http://forecast.weather.gov/newimages/medium/nbkn.png</icon-link> <icon-link>http://forecast.weather.gov/newimages/medium/bkn.png</icon-link> <icon-link>http://forecast.weather.gov/newimages/medium/nbkn.png</icon-link> <icon-link>http://forecast.weather.gov/newimages/medium/bkn.png</icon-link> <icon-link>http://forecast.weather.gov/newimages/medium/nsct.png</icon-link> <icon-link>http://forecast.weather.gov/newimages/medium/sct.png</icon-link> <icon-link>http://forecast.weather.gov/newimages/medium/nsct.png</icon-link> <icon-link>http://forecast.weather.gov/newimages/medium/hi_tsra30.png</icon-link> <icon-link>http://forecast.weather.gov/newimages/medium/nscttsra50.png</icon-link> <icon-link>http://forecast.weather.gov/newimages/medium/scttsra50.png</icon-link> <icon-link>http://forecast.weather.gov/newimages/medium/hi_ntsra50.png</icon-link> <icon-link>http://forecast.weather.gov/newimages/medium/scttsra50.png</icon-link> </conditions-icon> <hazards time-layout=""> <name>Watches, Warnings, and Advisories</name> <hazard-conditions> <hazard headline="Hazardous Weather Outlook"> <hazardTextURL>http://forecast.weather.gov/showsigwx.php?warnzone=MNZ069&warncounty=MNC139&firewxzone=MNZ069&local_place1=Elko+MN&product1=Hazardous+Weather+Outlook</hazardTextURL> </hazard> </hazard-conditions> </hazards> <wordedForecast time-layout="k-p12h-n14-1" dataSource="mpxNetcdf" wordGenerator="markMitchell"> <name>Text Forecast</name> <text>Rain, mainly before 10pm. Low around 47. Breezy, with a north northeast wind 15 to 20 mph, with gusts as high as 30 mph. Chance of precipitation is 100%. New precipitation amounts between a tenth and quarter of an inch possible. </text> <text>A 10 percent chance of rain before 7am. Mostly cloudy, with a high near 64. Northeast wind around 15 mph, with gusts as high as 30 mph. </text> <text>Mostly cloudy, with a low around 48. Northeast wind 10 to 15 mph. </text> <text>Partly sunny, with a high near 69. East wind around 10 mph. </text> <text>Mostly cloudy, with a low around 54. East southeast wind 5 to 10 mph. </text> <text>Partly sunny, with a high near 74. East southeast wind 5 to 10 mph. </text> <text>Partly cloudy, with a low around 56. Southeast wind around 10 mph. </text> <text>Mostly sunny, with a high near 74. South southeast wind 10 to 15 mph. </text> <text>Partly cloudy, with a low around 60. South southeast wind around 10 mph. </text> <text>A 30 percent chance of showers and thunderstorms, mainly after 2pm. Mostly sunny, with a high near 78. South wind around 10 mph. </text> <text>A 50 percent chance of showers and thunderstorms. Mostly cloudy, with a low around 60. South southeast wind 5 to 10 mph. </text> <text>A 50 percent chance of showers and thunderstorms. Partly sunny, with a high near 80. South wind 5 to 10 mph. </text> <text>A 50 percent chance of showers and thunderstorms. Partly cloudy, with a low around 61. South southeast wind around 5 mph. </text> <text>A 50 percent chance of showers and thunderstorms. Partly sunny, with a high near 78. South wind 5 to 10 mph. </text> </wordedForecast> </parameters> </data> <data type="current observations"> <location> <location-key>point1</location-key> <point latitude="44.63" longitude="-93.23"/> <area-description>Minneapolis, Airlake Airport, MN</area-description> <height datum="mean sea level" height-units="feet">961</height> </location> <moreWeatherInformation applicable-location="point1">http://www.nws.noaa.gov/data/obhistory/KLVN.html</moreWeatherInformation> <time-layout time-coordinate="local"> <layout-key>k-p1h-n1-1</layout-key> <start-valid-time period-name="current">2020-05-17T18:15:00-05:00</start-valid-time> </time-layout> <parameters applicable-location="point1"> <temperature type="apparent" units="Fahrenheit" time-layout="k-p1h-n1-1"> <value>54</value> </temperature> <temperature type="dew point" units="Fahrenheit" time-layout="k-p1h-n1-1"> <value>54</value> </temperature> <humidity type="relative" time-layout="k-p1h-n1-1"> <value>100</value> </humidity> <weather time-layout="k-p1h-n1-1"> <name>Weather Type, Coverage, Intensity</name> <weather-conditions weather-summary=" Heavy Rain and Breezy"/> <weather-conditions> <value> <visibility units="statute miles">10.00</visibility> </value> </weather-conditions> </weather> <conditions-icon type="forecast-NWS" time-layout="k-p1h-n1-1"> <name>Conditions Icon</name> <icon-link>http://forecast.weather.gov/newimages/medium/ra.png</icon-link> </conditions-icon> <direction type="wind" units="degrees true" time-layout="k-p1h-n1-1"> <value>30</value> </direction> <wind-speed type="gust" units="knots" time-layout="k-p1h-n1-1"> <value>21</value> </wind-speed> <wind-speed type="sustained" units="knots" time-layout="k-p1h-n1-1"> <value>18</value> </wind-speed> <pressure type="barometer" units="inches of mercury" time-layout="k-p1h-n1-1"> <value>29.91</value> </pressure> </parameters></data>