In this code
<root>
<main>
<cont>
<p>hello<a>world</a></p>
<p>hello</p>
<p>hello<a>world</a></p>
</cont>
</main>
</root>
I just need to get only the text inside <cont> tag. without getting <a> tag and its contents
so, the results will be hello hello hello without world