【发布时间】:2015-02-09 03:29:39
【问题描述】:
我不知道如何通过 Html 敏捷包获取此文本...你能帮帮我吗
<h1>
<div style="float: right; font-size: 13px;">Text I dont need</div>
Text I need to take
</h1>
我尝试了一些东西,但我不能......请帮帮我
【问题讨论】:
-
它在 XML 中被称为“混合内容”——查看stackoverflow.com/questions/10618016/… 获取示例,更多结果——bing.com/search?q=c%23+xml+text+mixed+content+xpath
-
我试过了...但我找不到成功...请帮助我
-
检查我的回答,如果对你有帮助,请告诉我