https://devhints.io/xpath
http://www.verydoc.net/xslt-xpath/00008083.htm
https://blog.csdn.net/xiaochendefendoushi/article/details/81321159
//span[@class='wrap'][contains(text(),'')]/../../*
#或者
//span[@class='wrap'][contains(text(),'')]/parent::*/parent::*
#<div class="wzbjxx">作者:123424</div>
substring-before(//div[@class="wzbjxx"]/text(),"作者:")
#<div class="wzbjxx">作者:123424</div> <div class="wzbjxx">作者:123424</div>
substring-before(//div[@class="wzbjxx"]/text()[1],"作者:")
substring-before('aa-bb','-')
aa
substring-before('aa-bb','a')
(empty string)
substring-before('aa-bb','b')
aa-
substring-before('aa-bb','q')
(empty string)
//div/p/preceding-sibling::*
//div/h3/following-sibling::* #选取所有h3元素的之后所有同级节点