开发者

DOM with XPath in Android 2.1

Are there any good/stable 3rd party XML DOM parsers (with XPath s开发者_如何学Goupport) which work with Android 2.1?


I think there is default support for XPath in Android starting in API level 8, which is 2.2.

If you have no particular need to work with 2.1, that should be just fine. If working with 2.1 is a necessity, I would recommend using a SAX parser or a StAX (pull) parser, both of which have been around since API level 1.


What is wrong with the included Document Builder available since API v1? Though if you are just looking to parse XML style documents then I would recommend the Simple XML Framework instead.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜