Extracting xml data from string var in android
Posted
by
ram
on Stack Overflow
See other posts from Stack Overflow
or by ram
Published on 2010-12-27T13:04:57Z
Indexed on
2011/03/15
0:09 UTC
Read the original article
Hit count: 121
Hi I have post some value using HttpPost
and convert response into string using
HttpEntity entity = response.getEntity();
String rrr=EntityUtils.toString(entity);
rrr contain some xml tags
<root>
<mytag>its my tag</mytag>
</root>
Now I have to extract string "its my tag" I have try to do it with SAX Parser but it give out put null. Plz, help me in solving this problem.
© Stack Overflow or respective owner