1.获取文本
html/head/title/text() # 获取html下head下title的文本
2.获取属性
head/link/@href # 获取head下的link的href属性
3.定位
//标签名[@属性名="属性值"]
//section[@id="list"]/section//div[@class="_20vb2"]/p/text()
html/head/title/text() # 获取html下head下title的文本
head/link/@href # 获取head下的link的href属性
//标签名[@属性名="属性值"]
//section[@id="list"]/section//div[@class="_20vb2"]/p/text()