I have a little bit complex, dirty html code. Is there a good HTML Parser that i can use the HTML code as a Java Object?
e.g. I want access this Code:
<html>
<body>
<div id='foo'>
<p id='bar'></p>
</div>
</body>
</html>
like via DOM:
[File/Code].getElementById('foo').appendText('bla');
[File/Code].getElement(Element.DIV).getElement(ELEMENT.P).getValue();
//etc...
have somebody an idea?
Or is there DOM in Java (this does not help :()?
Greetings