我有大量的 xml 数据,看起来像这样(只显示了一小部分数据):
<weatherdata xmlns:xsi="http://www.website.com" xsi:noNamespaceSchemaLocation="www.website.com" created="2020-07-06T14:53:48Z">
<meta>
<model name="xxxxxx" termin="2020-07-06T06:00:00Z" runended="2020-07-06T09:48:31Z" nextrun="2020-07-06T16:00:00Z" from="2020-07-06T15:00:00Z" to="2020-07-08T12:00:00Z"/>
<model name="xxxxxx" termin="2020-07-06T00:00:00Z" runended="2020-07-06T09:48:31Z" nextrun="2020-07-06T18:00:00Z" from="2020-07-08T13:00:00Z" to="2020-07-09T18:00:00Z"/>
<model name="xxxxxx" termin="2020-07-06T00:00:00Z" runended="2020-07-06T09:48:31Z" nextrun="2020-07-06T18:00:00Z" from="2020-07-09T21:00:00Z" to="2020-07-12T00:00:00Z"/>
<model name="xxxxxx" termin="2020-07-06T00:00:00Z" runended="2020-07-06T09:48:31Z" nextrun="2020-07-06T18:00:00Z" from="2020-07-12T06:00:00Z" to="2020-07-16T00:00:00Z"/>
</meta>
<product class="pointData">
<time datatype="forecast" from="2020-07-06T15:00:00Z" to="2020-07-06T15:00:00Z">
<location altitude="10" latitude="123" longitude="123">
<temperature id="TTT" unit="celsius" value="18.8"/>
<windDirection id="dd" deg="296.5" name="NW"/>
<windSpeed id="ff" mps="5.8" beaufort="4" name="Laber bris"/>
<globalRadiation value="524.2" unit="W/m^2"/>
<humidity value="59.0" unit="percent"/>
<pressure id="pr" unit="hPa" value="1022.9"/>
<cloudiness id="NN" percent="22.7"/>
<lowClouds id="LOW" percent="22.7"/>
<mediumClouds id="MEDIUM" percent="0.0"/>
<highClouds id="HIGH" percent="0.0"/>
<dewpointTemperature id="TD" unit="celsius" value="10.6"/>
</location>
</time>
<time datatype="forecast" from="2020-07-06T14:00:00Z" to="2020-07-06T15:00:00Z">
<location altitude="10" latitude="123" longitude="123">
<precipitation unit="mm" value="0.0" minvalue="0.0" maxvalue="0.0" probability="2.0"/>
<symbol id="LightCloud" number="2"/>
</location>
蛊毒传说
相关分类