xpath获取两个标签之间的所有标签

//h2[text()="采标情况"]/../following-sibling::*[position()<count(//h2[text()="采标情况"]/../following-sibling::*) - count(//h2[text()="目的意义"]/../following-sibling::*)]//text()

posted @ 2020-02-04 15:39  眼镜儿  阅读(2676)  评论(0编辑  收藏  举报