I am using following code to read XML from webpage. I have mentioned public URL here as cant mention project URL:
`String g1="http://www.w3schools.com/xml/note.xml";
DocumentBuilderFactory dbFactory=DocumentBuilderFactory.newInstance();
DocumentBuilder dBuilder=dbFactory.newDocumentBuilder();
Document doc=dBuilder.parse(g1);`
but I am receiving value of doc as null.