摘要: 最常见的XML数据类型有:Element, Attribute,Comment, Text. Element, 指形如<Name>Tom<Name>的节点。它可以包括:Element, Text, Comment, ProcessingInstruction, CDATA, and EntityReference. Attribute, 指在<Employee >中的粗体部分。 Comment,指形如:<!-- my comment --> 的节点。 Text,指在<Name>Tom<Name>的粗体部分。 在XML中,可 阅读全文
posted @ 2013-05-17 15:34 编程小爬虫 阅读(226) 评论(0) 推荐(0) 编辑
摘要: Dom4j使用简介作者:冰云 icecloud(AT)sina.com时间:2003.12.15版权声明:本文由冰云完成,首发于CSDN,未经许可,不得使用于任何商业用途。文中代码部分引用自DOM4J文档。欢迎转载,但请保持文章及版权声明完整。如需联络请发邮件:icecloud(AT)sina.com DOM4J是dom4j.org出品的一个开源XML解析包,它的网站中这样定义:Dom4j is an easy to use, open source library for working with XML, XPath and XSLT on the Java platform using 阅读全文
posted @ 2013-05-17 14:05 编程小爬虫 阅读(202) 评论(0) 推荐(0) 编辑