![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
XML
zhugx_java
-java
展开
-
XML 解析--- DOM和SAP
zhangsan20malelisi21malewangwu22femaleDOM:package com.dom;import java.io.File;import javax.xml.parsers.DocumentBuilder;import javax.xml.parsers.DocumentBuilderFactory;原创 2010-08-11 20:27:00 · 953 阅读 · 0 评论 -
XML 解析 JDOM --- --- 推荐
<br /> <br />创建一个XML:<br /> <br /> package com.jdom;import java.io.FileWriter;import org.jdom.Comment;import org.jdom.Document;import org.jdom.Element;import org.jdom.output.Format;import org.jdom.output.XMLOutputter;public class JdomCr原创 2010-09-01 22:11:00 · 343 阅读 · 0 评论