开发者

Which is the best for xml parser [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question c开发者_StackOverflow社区an be improved and possibly reopened, visit the help center for guidance. Closed 10 years ago.

I got xml file which is about 400 mb. in size.

I want to choose the best xml parser for that.

I need to parse and display the data.

current we have NSXMLParser, libxml2, TBXMLParser, TouchXMLParser, KissXMLParser, TinyXMLParser and GDataXMLParser

Which is best among this ? for the 400 mb size file xml.


Well it depends, if you want a sax parser i would say NSXMLParser fits the bill completely. However libxml2 has the advantage of being a DOM Parser. Since your file is very large using a DOM parser would result in heavy memory usage.


What is the preferred and commonly used in business Applications is NSXmlparser.From last one year i am working on it.Its better than others. But depends on your requirements.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜