javahtml-parsingtransformer-modelneko

How to write contents of Document Object to String in NekoHTML?


I am using NekoHTML to parse contents of some HTML file..

Everything goes okay except for extracting the contents of the Document Object to some string.

I've tried uses

TransformerFactory transformerFactory = TransformerFactory.newInstance();
Transformer transformer = transformerFactory.newTransformer();
DOMSource source = new DOMSource(doc);
StreamResult result = new StreamResult(writer);
transformer.transform(source, result);

But nothing appears returned.


Solution

  • The problem where in Oracle App server 10.3.1.4 http://m-hewedy.blogspot.com/2011/04/oracle-application-server-overrides.html