![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
xml
jzb_2016
java 程序员
展开
-
dom4j 解析xml
import java.io.*;import java.util.List; import org.dom4j.*;import org.dom4j.io.*; public class DomXML { public static String xmlPath; public static void deleteNode(String express) throws Docum...原创 2015-04-02 11:29:41 · 91 阅读 · 0 评论 -
dom4j 解析xml字符串
/** *path xml字符串 *ndename 节点名称 */ public static Node analytic(String path, String nodeName) { Document doc = null; try { doc = DocumentHelper.parseText(path); } catch (DocumentException ...原创 2015-05-14 16:58:59 · 91 阅读 · 0 评论