![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
网页web基础
仙剑vs逍遥
这个作者很懒,什么都没留下…
展开
-
初识xml,xml基础
XML语法3.1 标签语法:开始标签 结束标签 <student> </student>3.2 属性语法:<student name = "eric“></student>注意:(1)属性值必须以引号包含,不能省略,也不能单双混用;(2)一个标签内可以有多个属性,但不能出现重复的属性名3.3 文档声明语法:<...原创 2019-08-14 16:49:54 · 118 阅读 · 0 评论 -
xml技术加强
写出内容到xml文档创建写出对象(**)XMLWriter writer = new XMLWriter();指定文件输出的位置FileOutputStream out = new FileOutputStream("e:/contact.xml");读取项目的xml文件 Document doc = new SaxReader().read(new File("./src....原创 2019-08-16 10:53:41 · 98 阅读 · 0 评论