title: Searching a particular text in DOM
body: <p>I have a HTML/JSP's DOM with me, I want to search a particular text inside a DOM and need to build the XPath for the element which contains the text. Using Jsoup API.Building a xpath is working fine</p>
  
  <p>I am able to search the text if it is a value of the element or the value of the attributes of the element. Suppose if a text is there in the DOM without any tags , and if text is contained in span nodes, how do I can search?</p>