Eg. Consider the html
<html>
<body>
<p> Hello <b> world </b> </p>
</body>
</html>
how can i get the content "Hello" while parsing?
Please help me. I need it in java. I'm aware of few html parsers like jehrico.
The method handleText()
will give you that.