摘要: 已知XML文件如下(app.xml):<events> <title>Reading XML data!</title> <event> <date>sample date 1</date> <name>sample name 1</name> </event> <event> <date>sample date 2</date> <name>sample name 2</name> </event> <tes 阅读全文
posted @ 2012-10-19 22:39 zp_Alex 阅读(201) 评论(0) 推荐(0) 编辑
摘要: 所有 XML 元素都须有关闭标签在 HTML,经常会看到没有关闭标签的元素:<p>This is a paragraph<p>This is another paragraph在 XML 中,省略关闭标签是非法的。所有元素都必须有关闭标签:<p>This is a paragraph</p><p>This is another paragraph</p> 注释:您也许已经注意到 XML 声明没有关闭标签。这不是错误。声明不属于XML本身的组成部分。它不是 XML 元素,也不需要关闭标签。XML 标签对大小写敏感XML 元素 阅读全文
posted @ 2012-10-19 13:31 zp_Alex 阅读(261) 评论(0) 推荐(0) 编辑
摘要: IntroductionXML is everywhere. As a result, many of us find the need to work with XML and traditional text editors don't cut it. Some editors provide decent formatting (like Notepad++), but they don't provide a mechanism to examine the underlying data in the XML programmatically.PowerShell m 阅读全文
posted @ 2012-10-19 13:22 zp_Alex 阅读(327) 评论(0) 推荐(0) 编辑