【发布时间】:2016-09-01 23:15:09
【问题描述】:
我在尝试使用 HtmlAgilityPack 选择节点时收到无效令牌错误。
我使用的 Xpath 是:
"//article[contains(@class, 'product-buy')]/div[@class='product-price-wrapper']/div[@class='price']"
不确定哪个是无效令牌,我该如何解决这个问题
我用 ' 尝试了其他一些 xpath 并且工作正常
【问题讨论】:
标签: c# xpath html-agility-pack