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

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

原文地址:https://www.cnblogs.com/zhangjian0092/p/12259673.html