开发者

Android SAX parser

开发者 https://www.devze.com 2023-01-19 22:43 出处:网络
I am trying to implement a robust RSS/Atom reader for android, and since Xerce开发者_运维问答s won\'t compile I am struggling to find an alternative. I am using org.xmlpull.v1.sax2.Driver(), however t

I am trying to implement a robust RSS/Atom reader for android, and since Xerce开发者_运维问答s won't compile I am struggling to find an alternative. I am using org.xmlpull.v1.sax2.Driver(), however this just wraps a DOM parser with SAX callbacks.

Is there anything comparable to Xerces on Android?


Why not use the built in parser org.xml.sax

http://www.anddev.org/parsing_xml_from_the_net_-_using_the_saxparser-t353.html


other options are:

Android Sax Parser http://developer.android.com/reference/android/sax/package-summary.html

Java handling XML using SAX

or use the Simple annotation based XML library

0

精彩评论

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