Tuesday, 25 November 2014

Get text between two different tags in a XHTML document



This is the two different tags that contain certain text. I tried using JSOUP but couldnt find a method to capture text between two different tags. With Jsoup this was not possible. Can anyone suggest a method whihc will enable me to extract the text.



<ae_definedTermTitleBegin />Holdings<ae_definedTermTitleEnd />
<ae_definedTermTitleBegin />Canadian Borrower<ae_definedTermTitleEnd />

No comments:

Post a Comment