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">dontneedthis</span>
</p>
<p>description1</p>
<p>description2</p>
<p>description3</p>
</div>
I need to get only concatenated description1+description2+description3
Seems very easy, but I have problems skipping <p textAlign="center">...</p>
because I dont need that and get only other <p>
's TEXT
The whole document is huge, I've parsed all other parts except this one. Ive wrote some code, its huge, parsing is working (and I can get what exactly I need just with few nodes). Document is huge and its hard to catch the error. Maybe your alternative code can help me.
This is a good tutorial, but it doesn't solve my problem