在使用org.w3c.dom包进行对xml文件操作时,出现了这样的情况:
将具体的代码贴上来
public static void main(String[] args){
Element school = null;
Element student = null ;
Element name = null;
Element password = null;
DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
DocumentBuilder db = dbf.newDocumentBuilder();
InputStream is =new FileInputStream(