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-16T14:56:38-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-n13-1</layout-key>
<start-valid-time period-name="This Afternoon">2020-05-16T15:00:00-05:00</start-valid-time>
<start-valid-time period-name="Tonight">2020-05-16T18:00:00-05:00</start-valid-time>
<start-valid-time period-name="Sunday">2020-05-17T06:00:00-05:00</start-valid-time>
<start-valid-time period-name="Sunday Night">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>
</time-layout>
<time-layout time-coordinate="local" summarization="12hourly">
<layout-key>k-p24h-n7-1</layout-key>
<start-valid-time period-name="This Afternoon">2020-05-16T15:00:00-05:00</start-valid-time>
<start-valid-time period-name="Sunday">2020-05-17T06: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="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>
</time-layout>
<time-layout time-coordinate="local" summarization="12hourly">
<layout-key>k-p24h-n6-2</layout-key>
<start-valid-time period-name="Tonight">2020-05-16T18:00:00-05:00</start-valid-time>
<start-valid-time period-name="Sunday Night">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>
</time-layout>
<parameters applicable-location="point1">
<temperature type="maximum" units="Fahrenheit" time-layout="k-p24h-n7-1">
<name>Daily Maximum Temperature</name>
<value>66</value>
<value>55</value>
<value>69</value>
<value>73</value>
<value>78</value>
<value>79</value>
<value>81</value>
</temperature>
<temperature type="minimum" units="Fahrenheit" time-layout="k-p24h-n6-2">
<name>Daily Minimum Temperature</name>
<value>50</value>
<value>45</value>
<value>47</value>
<value>53</value>
<value>57</value>
<value>60</value>
</temperature>
<probability-of-precipitation type="12 hour" units="percent" time-layout="k-p12h-n13-1">
<name>12 Hourly Probability of Precipitation</name>
<value>10</value>
<value>100</value>
<value>90</value>
<value>30</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>20</value>
<value>20</value>
</probability-of-precipitation>
<weather time-layout="k-p12h-n13-1">
<name>Weather Type, Coverage, Intensity</name>
<weather-conditions weather-summary="Slight Chance Showers"/>
<weather-conditions weather-summary="Breezy. Showers Likely then Heavy Rain"/>
<weather-conditions weather-summary="Showers and Breezy"/>
<weather-conditions weather-summary="Chance Showers then Mostly Cloudy"/>
<weather-conditions weather-summary="Mostly Sunny"/>
<weather-conditions weather-summary="Partly Cloudy"/>
<weather-conditions weather-summary="Mostly Sunny"/>
<weather-conditions weather-summary="Mostly Clear"/>
<weather-conditions weather-summary="Mostly Sunny"/>
<weather-conditions weather-summary="Mostly Clear"/>
<weather-conditions weather-summary="Mostly Sunny"/>
<weather-conditions weather-summary="Partly Cloudy then Slight Chance Showers"/>
<weather-conditions weather-summary="Partly Sunny then Slight Chance T-storms"/>
</weather>
<conditions-icon type="forecast-NWS" time-layout="k-p12h-n13-1">
<name>Conditions Icon</name> <icon-link>http://forecast.weather.gov/newimages/medium/shra10.png</icon-link>
<icon-link>http://forecast.weather.gov/DualImage.php?i=nshra&j=nshra&ip=70&jp=100</icon-link>
<icon-link>http://forecast.weather.gov/newimages/medium/shra90.png</icon-link>
<icon-link>http://forecast.weather.gov/DualImage.php?i=nshra&j=nbkn&ip=30</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/sct.png</icon-link>
<icon-link>http://forecast.weather.gov/newimages/medium/nfew.png</icon-link>
<icon-link>http://forecast.weather.gov/newimages/medium/sct.png</icon-link>
<icon-link>http://forecast.weather.gov/newimages/medium/nfew.png</icon-link>
<icon-link>http://forecast.weather.gov/newimages/medium/sct.png</icon-link>
<icon-link>http://forecast.weather.gov/DualImage.php?i=nsct&j=nshra&jp=20</icon-link>
<icon-link>http://forecast.weather.gov/DualImage.php?i=bkn&j=scttsra&jp=20</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-n13-1" dataSource="mpxNetcdf" wordGenerator="markMitchell">
<name>Text Forecast</name>
<text>A 10 percent chance of showers after 5pm. Cloudy, with a high near 66. East wind around 10 mph. </text>
<text>Showers and possibly a thunderstorm. Some of the storms could produce heavy rainfall. Low around 50. Breezy, with an east northeast wind 15 to 20 mph, with gusts as high as 30 mph. Chance of precipitation is 100%. New rainfall amounts between 1 and 2 inches possible. </text>
<text>Showers, mainly before 5pm. High near 55. Breezy, with a northeast wind around 20 mph, with gusts as high as 30 mph. Chance of precipitation is 90%. New precipitation amounts between three quarters and one inch possible. </text>
<text>A 30 percent chance of showers, mainly before 7pm. Cloudy, then gradually becoming partly cloudy, with a low around 45. North northeast wind around 15 mph, with gusts as high as 25 mph. </text>
<text>Mostly sunny, with a high near 69. East northeast wind around 10 mph. </text>
<text>Partly cloudy, with a low around 47. East northeast wind around 5 mph. </text>
<text>Mostly sunny, with a high near 73. East southeast wind 5 to 10 mph. </text>
<text>Mostly clear, with a low around 53. South southeast wind around 10 mph. </text>
<text>Mostly sunny, with a high near 78. South southeast wind around 10 mph. </text>
<text>Mostly clear, with a low around 57. South southeast wind around 10 mph. </text>
<text>Mostly sunny, with a high near 79. South southeast wind 10 to 15 mph. </text>
<text>A 20 percent chance of showers. Mostly cloudy, with a low around 60. South wind 10 to 15 mph. </text>
<text>A 20 percent chance of showers and thunderstorms. Partly sunny, with a high near 81. South southwest wind around 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-16T15:16:00-05:00</start-valid-time> </time-layout> <parameters applicable-location="point1"> <temperature type="apparent" units="Fahrenheit" time-layout="k-p1h-n1-1"> <value>68</value> </temperature> <temperature type="dew point" units="Fahrenheit" time-layout="k-p1h-n1-1"> <value>48</value> </temperature> <humidity type="relative" time-layout="k-p1h-n1-1"> <value>49</value> </humidity> <weather time-layout="k-p1h-n1-1"> <name>Weather Type, Coverage, Intensity</name> <weather-conditions weather-summary="Partly Cloudy"/> <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/sct.png</icon-link> </conditions-icon> <direction type="wind" units="degrees true" time-layout="k-p1h-n1-1"> <value>20</value> </direction> <wind-speed type="gust" units="knots" time-layout="k-p1h-n1-1"> <value>NA</value> </wind-speed> <wind-speed type="sustained" units="knots" time-layout="k-p1h-n1-1"> <value>11</value> </wind-speed> <pressure type="barometer" units="inches of mercury" time-layout="k-p1h-n1-1"> <value>30.06</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-16T14:56:38-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-n13-1</layout-key>
<start-valid-time period-name="This Afternoon">2020-05-16T15:00:00-05:00</start-valid-time>
<start-valid-time period-name="Tonight">2020-05-16T18:00:00-05:00</start-valid-time>
<start-valid-time period-name="Sunday">2020-05-17T06:00:00-05:00</start-valid-time>
<start-valid-time period-name="Sunday Night">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>
</time-layout>
<time-layout time-coordinate="local" summarization="12hourly">
<layout-key>k-p24h-n7-1</layout-key>
<start-valid-time period-name="This Afternoon">2020-05-16T15:00:00-05:00</start-valid-time>
<start-valid-time period-name="Sunday">2020-05-17T06: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="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>
</time-layout>
<time-layout time-coordinate="local" summarization="12hourly">
<layout-key>k-p24h-n6-2</layout-key>
<start-valid-time period-name="Tonight">2020-05-16T18:00:00-05:00</start-valid-time>
<start-valid-time period-name="Sunday Night">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>
</time-layout>
<parameters applicable-location="point1">
<temperature type="maximum" units="Fahrenheit" time-layout="k-p24h-n7-1">
<name>Daily Maximum Temperature</name>
<value>66</value>
<value>55</value>
<value>69</value>
<value>73</value>
<value>78</value>
<value>79</value>
<value>81</value>
</temperature>
<temperature type="minimum" units="Fahrenheit" time-layout="k-p24h-n6-2">
<name>Daily Minimum Temperature</name>
<value>50</value>
<value>45</value>
<value>47</value>
<value>53</value>
<value>57</value>
<value>60</value>
</temperature>
<probability-of-precipitation type="12 hour" units="percent" time-layout="k-p12h-n13-1">
<name>12 Hourly Probability of Precipitation</name>
<value>10</value>
<value>100</value>
<value>90</value>
<value>30</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>20</value>
<value>20</value>
</probability-of-precipitation>
<weather time-layout="k-p12h-n13-1">
<name>Weather Type, Coverage, Intensity</name>
<weather-conditions weather-summary="Slight Chance Showers"/>
<weather-conditions weather-summary="Breezy. Showers Likely then Heavy Rain"/>
<weather-conditions weather-summary="Showers and Breezy"/>
<weather-conditions weather-summary="Chance Showers then Mostly Cloudy"/>
<weather-conditions weather-summary="Mostly Sunny"/>
<weather-conditions weather-summary="Partly Cloudy"/>
<weather-conditions weather-summary="Mostly Sunny"/>
<weather-conditions weather-summary="Mostly Clear"/>
<weather-conditions weather-summary="Mostly Sunny"/>
<weather-conditions weather-summary="Mostly Clear"/>
<weather-conditions weather-summary="Mostly Sunny"/>
<weather-conditions weather-summary="Partly Cloudy then Slight Chance Showers"/>
<weather-conditions weather-summary="Partly Sunny then Slight Chance T-storms"/>
</weather>
<conditions-icon type="forecast-NWS" time-layout="k-p12h-n13-1">
<name>Conditions Icon</name> <icon-link>http://forecast.weather.gov/newimages/medium/shra10.png</icon-link>
<icon-link>http://forecast.weather.gov/DualImage.php?i=nshra&j=nshra&ip=70&jp=100</icon-link>
<icon-link>http://forecast.weather.gov/newimages/medium/shra90.png</icon-link>
<icon-link>http://forecast.weather.gov/DualImage.php?i=nshra&j=nbkn&ip=30</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/sct.png</icon-link>
<icon-link>http://forecast.weather.gov/newimages/medium/nfew.png</icon-link>
<icon-link>http://forecast.weather.gov/newimages/medium/sct.png</icon-link>
<icon-link>http://forecast.weather.gov/newimages/medium/nfew.png</icon-link>
<icon-link>http://forecast.weather.gov/newimages/medium/sct.png</icon-link>
<icon-link>http://forecast.weather.gov/DualImage.php?i=nsct&j=nshra&jp=20</icon-link>
<icon-link>http://forecast.weather.gov/DualImage.php?i=bkn&j=scttsra&jp=20</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-n13-1" dataSource="mpxNetcdf" wordGenerator="markMitchell">
<name>Text Forecast</name>
<text>A 10 percent chance of showers after 5pm. Cloudy, with a high near 66. East wind around 10 mph. </text>
<text>Showers and possibly a thunderstorm. Some of the storms could produce heavy rainfall. Low around 50. Breezy, with an east northeast wind 15 to 20 mph, with gusts as high as 30 mph. Chance of precipitation is 100%. New rainfall amounts between 1 and 2 inches possible. </text>
<text>Showers, mainly before 5pm. High near 55. Breezy, with a northeast wind around 20 mph, with gusts as high as 30 mph. Chance of precipitation is 90%. New precipitation amounts between three quarters and one inch possible. </text>
<text>A 30 percent chance of showers, mainly before 7pm. Cloudy, then gradually becoming partly cloudy, with a low around 45. North northeast wind around 15 mph, with gusts as high as 25 mph. </text>
<text>Mostly sunny, with a high near 69. East northeast wind around 10 mph. </text>
<text>Partly cloudy, with a low around 47. East northeast wind around 5 mph. </text>
<text>Mostly sunny, with a high near 73. East southeast wind 5 to 10 mph. </text>
<text>Mostly clear, with a low around 53. South southeast wind around 10 mph. </text>
<text>Mostly sunny, with a high near 78. South southeast wind around 10 mph. </text>
<text>Mostly clear, with a low around 57. South southeast wind around 10 mph. </text>
<text>Mostly sunny, with a high near 79. South southeast wind 10 to 15 mph. </text>
<text>A 20 percent chance of showers. Mostly cloudy, with a low around 60. South wind 10 to 15 mph. </text>
<text>A 20 percent chance of showers and thunderstorms. Partly sunny, with a high near 81. South southwest wind around 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-16T15:16:00-05:00</start-valid-time> </time-layout> <parameters applicable-location="point1"> <temperature type="apparent" units="Fahrenheit" time-layout="k-p1h-n1-1"> <value>68</value> </temperature> <temperature type="dew point" units="Fahrenheit" time-layout="k-p1h-n1-1"> <value>48</value> </temperature> <humidity type="relative" time-layout="k-p1h-n1-1"> <value>49</value> </humidity> <weather time-layout="k-p1h-n1-1"> <name>Weather Type, Coverage, Intensity</name> <weather-conditions weather-summary="Partly Cloudy"/> <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/sct.png</icon-link> </conditions-icon> <direction type="wind" units="degrees true" time-layout="k-p1h-n1-1"> <value>20</value> </direction> <wind-speed type="gust" units="knots" time-layout="k-p1h-n1-1"> <value>NA</value> </wind-speed> <wind-speed type="sustained" units="knots" time-layout="k-p1h-n1-1"> <value>11</value> </wind-speed> <pressure type="barometer" units="inches of mercury" time-layout="k-p1h-n1-1"> <value>30.06</value> </pressure> </parameters></data>