开发者

DOM with XPath in Android 2.1

开发者 https://www.devze.com 2023-03-16 19:09 出处:网络
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

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

精彩评论

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