Re: [webkit-dev] Qt DOM tree
Hi Habiba, I posted in this mailling list because it seemed to me necessary seen that I work with WebKit, because the important for me it is to have ideas of the others. Just to clear that a bit as it can be quite confusing. What you are really using is WebKit embedded in the Qt framework (aka the QtWebKit module). It means that what you are using is what is explicitly exported in Qt. What you manipulate is quite different from what we deal with when manipulating directly WebKit. Think that Qt objects have methods that do not exist in WebKit and WebKit has methods that are not exported to the Qt framework. My tone was maybe a bit harsh but asking your questions at the right place is the best way to have them answered (and receive insightful answers). On webkit-dev, not everyone uses Qt (I would say that they are even a minority). If you have questions regarding about WebKit in itself, then this mailing is the right place. Regards, Julien ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
[webkit-dev] Qt DOM tree
Hello Julien, I posted in this mailling list because it seemed to me necessary seen that I work with WebKit, because the important for me it is to have ideas of the others. Thus, I am really sorry. Best regards, Habiba. ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
[webkit-dev] Qt DOM tree
Hello, I am developping an application that construct the DOM tree of a web page. When the load of the page ends, I construct its DOM tree . There is portion of my code: v.load(url) . QString frameText = v . page() - mainFrame() - toHtml(); //here i am using tidy to correct the page and make it valid .I would like that Instead of writing the name of file (-asxml webpage.html) work directely with The variable frameText QProcess::startDetached (tidy -o test.xml -asxml webpage.html); QFile file (test.xml); if (!file.open(QIODevice::ReadOnly | QIODevice::Text)) return; QTextStream out(file); QString output = out.readAll(); QDomDocument doc; doc.setContent(output); Arbre_DOM(doc . documentElement(), 1, 0); please can any one help me because I don't know how work with tidy. Best regards ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev