xpath中*、text()和node()区别
假设有这么一段html: <div class="post-content"> <h1>Title</h1> <p>Subtitle</p> <img src="a.jpg"> <div> <a href="example.html">Goto</a> </div> Bare text <br> <!-- this is html comment --> <p>Bottom</p> </div> 1 child::* 节点的所有子元素,如//div[@class="post-content…