用于iPhone的Objective-C DOM XML解析器 [英] Objective-C DOM XML parser for iPhone
本文介绍了用于iPhone的Objective-C DOM XML解析器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
感谢任何帮助
解决方案
不幸的是, NSXMLDocument
询问)在iPhone上不存在。您可能需要使用 libxml2
滚动自己的解析器,或尝试像 TouchXML 或 KissXML 。
Hello guys I'm looking for a way on the iPhone to parse an XML document using DOM. I have been using SAX with NSXMLParser but now I really want a DOM tree (or anything that can quickly translate the XML document into an NSDictionary)
Thanks for any help
解决方案
Unfortunately, NSXMLDocument
(which does what you're asking) does not exist on the iPhone. You may have to roll your own parser using libxml2
, or try something like TouchXML or KissXML.
这篇关于用于iPhone的Objective-C DOM XML解析器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文