Question: This line of code works on a different computer. However, it failed on mine. It might be an import or setting issue. I just dont
This line of code works on a different computer. However, it failed on mine. It might be an import or setting issue. I just dont know what it might be. Can someone give advice? It breaks on line 162.
{
159 DocumentBuilder db = DocumentBuilderFactory.newInstance().newDocumentBuilder();
160 InputSource is = new InputSource();
161 is.setCharacterStream(new StringReader(strXMLResponse));
162 Document doc = db.parse(is);
163 nodes = doc.getElementsByTagName("Value");
}
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
