Would have been nice you to post the URL of a working location along with the URL for Winnipeg, but what I see at a first look is that for Winnipeg (or for the posted URL) the data doesn't contain the latitude (lat) and longitude (lon) information, at least not on certain place of the code:At each tested location, all of the data displays correctly, with the exception that at Winnipeg (https://dd.weather.gc.ca/citypage_weather/xml/MB/s0000193_e.xml) the lat./long. do not display, while all of the remaining data does display correctly. The XML is formatted correctly, and the measures do have the correct data. This is the only location (of those I've tested) with this issue, and it has me completely stumped.
Code:
<location><continent>North America</continent>...<name code="s0000193" lat="49.89N" lon="97.13W">Winnipeg</name>...</location>...<currentConditions><station code="ywg" lat="" lon="">Winnipeg Richardson Int'l Airport</station><dateTime name="observation" zone="UTC" UTCOffset="0">...</dateTime>
Statistics: Posted by balala — Yesterday, 7:27 pm