Skip to main content
How are we doing? Please help us improve Stack Overflow. Take our short survey

All Questions

0 votes
1 answer
221 views

XMLPullParser - Skips all tags

I need to read a XML using XMLPullParser. But when I try to parse it my eventType starts with 0 (i.e., START_DOCUMENT) and immediately skips to 1 (i.e., END_DOCUMENT) thereby skipping all the other ...
Faux Pas's user avatar
  • 534
0 votes
2 answers
429 views

Android. How to speed up XmlPullParser?

I have XML database which weights around 72MB. It has ~170k entries like this. I am parsing this database using XmlPullParser. Parsing process is very long(more than 5 minutes). I think this is not ...
Joe Rakhimov's user avatar
  • 5,083
1 vote
1 answer
1k views

XmlPullParser - Pull from elements with a specific parent element

Consider this XML. It describes a list of people and the cars they own. <People> <Person id="100"> <Name>Bob</Name> <Cars> <Car> ...
cowsay's user avatar
  • 1,332
0 votes
1 answer
306 views

XmlPullParser view special alphabetical characters

I've done XML parsing via XmlPullParser and it works fine until I add special characters to my xml file such as š,č,ř,ž and so on. It replaces the character with "?" sign. Is there any way how to get ...
marson's user avatar
  • 953
6 votes
4 answers
6k views

Android: Best parser to parse XML data [closed]

I am developing an application in which the first time I am going to parse data from an xml file coming from a remote server. But i am not able to select which parser is efficient or best suited for ...
Manoj Fegde's user avatar
  • 4,771
0 votes
1 answer
377 views

XmlPullParser parse node with multiple types

Please someone help me to parse this block of code using android's XmlPullParser (nothing else): <div fontStyle="normal"> <p textAlign="center"> <span fontSize="26">...
pleerock's user avatar
  • 18.9k
0 votes
2 answers
1k views

Android SDK: Xml Pull Parser - How to get the node name

I am using the Xml Pull Parser to parse some Xml from a URL. I'm retrieving the values of the nodes without any problem, however I can't seem to get the node name - it's just returning null. For ...
user1417302's user avatar
2 votes
2 answers
4k views

Getting xml string data from element using XmlPullParser

for example I have xml file: <names> <item value="Hello" /> <item value="All" /> <item value="This" /> <item value="Data" /> </names&...
pleerock's user avatar
  • 18.9k
7 votes
1 answer
12k views

Android org.xmlpull.v1.XmlPullParserException while parsing XML

I have a situation where i call a web service and it returns me some HTML in an XML envelop. like: <xml version="1.0" cache="false"> <head/> <body> <table> <tr> <...
Aamir's user avatar
  • 1,757
0 votes
1 answer
792 views

Error while parsing XML using XMLPullParser in android?

I'm getting error while paring xml in android using XMLPullParser if the text contains special character like &. How can I solve this?
althaf_tvm's user avatar