[webkit-dev] dom, Qt and Qwebkit

sanaa ss s.medjadba at gmail.com
Sun May 11 08:04:22 PDT 2008

Thanks a lot Julien for help ,

I have developed an application that extract links from a javascript file
with the manipulation of the dom tree, QDocument and Qwebkit .
There is a portion of my code where i have the falawing error:
 QDomNode n = docElem.firstChild();

while(!n.isNull()) {
                      QDomElement e = n.toElement(); // try to convert the
node to an element.
                      if(!e.isNull()) {
                                             cout << e.tagName() << endl; //
the node really is an element.
                      n = n.nextSibling();
Can any one help me.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.webkit.org/pipermail/webkit-dev/attachments/20080511/38f170b1/attachment.html

More information about the webkit-dev mailing list