摘要:
基于XPath的解析:@Test public void test01() { InputStream is = null; try { is = Testxpath.class.getClassLoader().getResourceAsStream("books.xml"); DocumentBuilder db = DocumentBuilderFactory.newInstance().newDocumentBuilder(); Document doc = db.parse(is); XPath xpath = XPathFactory.newInstance.. 阅读全文
posted @ 2013-06-05 23:11
zcjava
阅读(158)
评论(0)
推荐(0)
浙公网安备 33010602011771号