Hi,
I am trying to read xyz.info file which is actually xml format. When I try to parse the file object it is giving me exception since it has .info extension. Any thought how do we convert .info file as an xml file.
this is the way I am trying to parse the xyz.info file of xml format.
DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
DocumentBuilder db = dbf.newDocumentBuilder();
Document doc = db.parse(locationOfXMLFile);
doc.getDocumentElement().normalize();
locationOfXMLFile value would be xyz.info of xml format.