I'm trying to use the khtml library, basically just the DOM html implementation from there, but I even failed to create a basic HTMLDocument
from a file using load()
, and when I tried to create a HTMLDOcument
by mutating it via appendChild
I get DOMException
with errorcode == 8 (NOT FOUND)
.
Can anyone please point me to some sample code which uses khtml's dom model without obtaining the document from the GUI components?