code sample for it is
DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
DocumentBuilder db = dbf.newDocumentBuilder();
Document
doc = db.parse(new File("C:\\standardjbosscmp-jdbc.xml"));// this statement is not executing because of some <DOCTYPE .. Tag in same file
NodeList nl1 = doc.getElementsByTagName("datasource");
this code is working if i remove that <DOCTYPE tag...
i didnt get what is connection between <DOCTYPE tag and parsing that file
please reply...i have already west lot of time on it
Thanks in advance