I have xml content as
<p/>
<p>Highlighted Applications</p>
<p/>
<table>
<tbody>
<tr> <td>
<p>Projects </p>
</td> <td>
<p>Description</p>
</td>
</tr>
<tr> <td>
<p>VNC login for Windows Mobile devices</p>
</td> <td>
It may have custom tag, which I don't know in advance. Is it possible to get text from above xml without walking xml-tree and removing each tag one by one in java/scala. I came across this, but this is to remove unnecessary tag not removing all tag? I am looking for some generic kind of solution, which can remove all tag or get all text from xml.
Required Output:
Highlighted Applications
Projects
Description
VNC login for Windows Mobile devices
I'm open to any other approach/library suggestion?