【发布时间】:2015-07-16 21:51:40
【问题描述】:
我必须先更改网页的 html 代码,然后才能在我的 Android 应用程序上显示它。这是我的情况:
<html>
<div class="something">
<a class="inner_something">
<span class="title">Titolo1</span>
</a>
</div>
<div class="something">
<a class="inner_something">
<span class="title">Titolo2</span>
</a>
</div>
</html>
我想删除其中包含 span 的 div,其中包含 text=Titolo2。我该怎么办?
【问题讨论】:
标签: android html html-parsing jsoup