Tuesday, May 22, 2012

Parsing html with Jsoup and removing spans with certain style

I'm writing an app for a friend but I ran into a problem, the website has these



<span style="display:none">&amp;0000000000000217000000</span>


And we have no idea even what they are, but I need them removed because my app is outputting their value.



Is there any way I can check to see if this is in the Elements and remove it? I have a for-each loop parsing however I cant figure out how to effectively remove this element.



thanks





No comments:

Post a Comment