I have a HTML page, lets say http://www.crisil.com/Ratings/RatingList/RatingDocs/_G_Telecom_Infra_India_Private_Limited_August_28_2015_RR.html
I want to parse About the Company paragraph and the below table without using any kind of selector or XPath in Java.
I know I can use XPath but I have so many different pages from different domain and XPath might change.
About the Company string will be constant but the position might vary in page to page. Please suggest some solution, I have tried Jsoup, HTMLUnit , DocumentBuilder and some other libraries but looks like most of them rely on tags.
<b>About CRISIL LIMITED</b>contains()to select by text, see this (you will still have to use tags in some fashion - that's how HTML is structured - but this approach may help you avoid classes and other things that can change).