摘要: 1 @Test2 public void test() throws Exception{3 DocumentBuilderFactory fac = DocumentBuilderFactory.newInstance();4 DocumentBuilder db = fac.newDocumentBuilder();5 Document document = db.parse("src/1.xml");6 NodeList nl = document.getElementsByTagName("aaa");7 ... 阅读全文
posted @ 2014-04-09 15:57 一路向北中 阅读(121) 评论(0) 推荐(0)