Thanks David  for response,

I want to load an html page with webkit then contruct his dom tree, I
use Qt4.4 which integrate Webkit.

QWebView v;
QString frameText = v . page() -> mainFrame() -> toHtml();  ////Loading the page


void Charger::Dom-tree(QDomNode node) ////Function which construct dom
tree for html page loaded
{

  if  (node.hasChildNodes ())
        {
           listnode = node.childNodes();
           for(i=0; i<listnode.length() ; i++) {
                                                  e = node.toElement();
                                                  Dom-tree(listnode.item(i));
                                               }
        }



}


This failed, because there is some missing closings tags !!!
_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Reply via email to