I am parsing a XML file in Java using the W3C DOM. I am stuck at a specific problem, I can't figure out how to get the whole inner XML of a ...
<html> <head> </head> <body> text <div> text2 <div> text3 </div> </div> </body> </html>
a HTML file:
<html> <body> <div class="main"> <p id="tID">content</p> ...