xml介绍+xml创建+xml读取
1.xml介绍:( URL: https://blog.csdn.net/weixin_37861326/article/details/81082144 ) xml是用来传输内容的,是w3c推荐的 2.使用java创建xml数据,CreateXml.java package testcreatexml; import java.io.File; import java.io.StringWriter; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.DocumentBuilderFactory; import javax.xml.parsers.ParserConfigurationException; import javax.xml.transform.Transformer; import javax.xml.transform.TransformerConfigurationException; import javax.xml.transform.TransformerException; import javax.xml.transform.TransformerFactory; import javax.xml.transform.dom.DOMSource; import