I am getting some xml from the web, and like this
XmlPullParser receivedData = XmlPullParserFactory.newInstance().newPullParser();
receivedData.setInput(xmlUrl.openStream(), null);
And I want to set the receivedData
to a readable string so I can check if the xml on the web is the same as what I am downloading.
I tried receivedData.toString()
But this just gives, org.kxml2.io.KXmlParser@27fd33b24
how can I get a readable string?
Thanks