开发者

Problem with parsing xml file

开发者 https://www.devze.com 2023-02-11 14:05 出处:网络
I have this website i need to parse for an android app. http://www.wow-coupons.com/rss_online_coupons.xml

I have this website i need to parse for an android app.

http://www.wow-coupons.com/rss_online_coupons.xml

I am using the code AndroidXml from the below site to parse

http://www.ibm.com/developerworks/opensource/library/x-android/index.html?ca=dgr-lnxw82Android-XML&S_TACT=105AGX59&S_CMP=grlnxw82

There are no syntax errors in the xml file. Other websites work for the same 开发者_如何学Ccode.

If there is a connection problem, how do I resolve it? Please help.

Thanks, Siri


I just tested your feed with the BuzzBox SDK demo app and it is parsed fine.

See http://hub.buzzbox.com/android-sdk/demoapp

You can get the SDK and integrate it in your App. Or you can rewrite the parser. The SDK is using org.xml.sax.XMLReader and javax.xml.parsers.SAXParser

0

精彩评论

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