开发者

How to use JSOUP in Android?

I want to parse html-page with this code < span clas开发者_Python百科s = bld >1.2456 RON < / span > I want to get text "1.2456 RON" with SOUP in Android. What will I have done? Tell me please


I think this is how you do it:

String html  = "< span class = bld >1.2456 RON < / span >";

Elements e = new Jsoup(html).select(".bld");

System.out.println(e.get(0).text().toString());
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜