<ForecastResult>
<Forecast>
<Date>2012-06-27T00:00:00</Date>
<WeatherID>4</WeatherID>
<Desciption>Sunny</Desciption>
<Temperatures>
<MorningLow/>
<DaytimeHigh>100</DaytimeHigh>
</Temperatures>
<ProbabilityOfPrecipiation>
<Nighttime/>
<Daytime>00</Daytime>
</ProbabilityOfPrecipiation>
</Forecast>
<Forecast>
<Date>2012-06-28T00:00:00</Date>
<WeatherID>4</WeatherID>
<Desciption>Sunny</Desciption>
<Temperatures>
<MorningLow>74</MorningLow>
<DaytimeHigh>95</DaytimeHigh>
</Temperatures>
<ProbabilityOfPrecipiation>
<Nighttime>10</Nighttime>
<Daytime>00</Daytime>
</ProbabilityOfPrecipiation>
</Forecast>
以上是我的 XML 文件,我想将 Date 和 DaytimeHigh 读入 NSMuttableArray。我正在使用 NSXML 解析器。