How to parse Xml in android?
<p>I have an XML Document I want to create a method that will parse the XML which is in Document format to String and return the Strings . How can I do this..Please help me out as I am very new to Android and XML as well.Thanks in advance.</p>

<p>I am trying to do something like this----</p>

<pre><code>public static String getStringFromXML(Document doc){
String data;
................
................
................
...............
return data;
}
</code></pre>
