摘要:
package com.zuxia.dom4j;import java.util.List;import org.dom4j.Document;import org.dom4j.Element;import org.dom4j.io.SAXReader;public class ReaderXML {public static void main(String[] args) {//1. 创建解析器SAXReader reader = new SAXReader();Document doc = null;//2. 加载xml文件,获取Documenttry {doc = reader.rea 阅读全文