XML paeser我有看,例如像这样的一个服务器上的XML文件:的iPhone应用程序
<breakfast_menu>
<food>
<name>Belgian Waffles</name>
<price>$5.95</price>
<description>two of our famous Belgian Waffles with plenty of real maple syrup</description>
<calories>650</calories>
</food>
<food>
<name>Strawberry Belgian Waffles</name>
<price>$7.95</price>
<description>light Belgian waffles covered with strawberries and whipped cream</description>
<calories>900</calories>
</food>
</breakfast_menu>
我需要XML解析器会分析它,并输入他们每个人的一类,对检验会称为食物(并且有4个参数:名称,价格,......)。 ,最后创建一个他创建的类的数组。是否有内置的xml解析器呢?