如何使用python在xpath中转换lxml元素变量

时间:2018-09-27 13:39:36

标签: python xpath

{{1}}

我尝试了xpath的

text = i.xpath('./ following-sibling :: p [following-sibling ::“%s”]]%next_h4')

text = i.xpath('./ following-sibling :: p [following-sibling :: $ nex]]',$ nex = next_h4)

0 个答案:

没有答案