简体   繁体   中英

Xml Parsing using SAX parser in Android application.

Can anybody please solve my Issue regarding XML SAX Parsing:

I have a small issue that in my Android application when parsing is done, it goes through the whole response and parse the data.

My issue is that I just want to parse the data from the particular place. So that when I parse the XML Response, parsing should be done from the desired place and then it should not check further even if the "same tag" used to appear elsewhere in the response.

Is there any way to do this? I am stranded in this situation badly and have no clue for what to do.

尝试使用xmlpullparser而不是SAX解析器,Android也支持xmlpullparser

尝试重新启动Eclipse或正在使用的框架。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM