网址:http://www.cnblogs.com/hyddd/archive/2009/05/22/1487332.html
文件名:test.xml
<?xml version="1.0" encoding="ISO-8859-1"?> <catalog> <cd country="USA"> <title>Empire Burlesque</title> <artist>Bob Dylan</artist> <price>10.90</price> </cd> <cd country="UK"> <title>Hide your heart</title> <artist>Bonnie Tyler</artist> <price>9.90</price> </cd> <cd country="USA"> <title>Greatest Hits</title> <artist>Dolly Parton</artist> <price>9.90</price> </cd></catalog> </catalog>
Xpath是XML的查询语法,和SQL的角色类似.
详细学习内容见http://www.cnblogs.com/hyddd/archive/2009/05/22/1487332.html