1
我正在使用“HtmlAgilityPack”来分析HTML内容。 我的目标是获得数值。XPath查询在某个其他节点之后获取节点
<div>
some content 1
<br>
some <b>content</b> 2
<br>
<b>NUMBER:</b>
9788492688647
<br>
some content 3
<br>
some content 4
</div>
aim:
- get "9788492688647"
Anybody can tell me how to get value between /div/b[2] and <br> ?
第一个作品完美:)第二个抛出异常不正确的语法。 非常感谢:),这就是我一直在寻找的。 – czesio 2010-04-20 20:47:00