I am using jsoup to parse HTML. There are list items that look like this:
<li><span class="chk">X</span>Category Name</li>
I want to get li NOT text, including span text. So I want to get a "Category Name" without an "X". (If I call the method text()on the li element, I get an "XCategory Name".) How can I exclude a subrange?
source
share