Re: [webkit-dev] construct the dom tree of non Xml valid page

2008-06-08 Thread nina
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

Re: [webkit-dev] construct the dom tree of non Xml valid page

2008-06-08 Thread Adam Treat
Hi Nina, If I understand correctly, you are loading a page in QtWebKit and then using the QWebFrame::toHtml() method to retrieve the actual markup which is missing closing tags. If the html is missing *all* closing tags then this sounds like a bug in the toHtml method. If the html is

[webkit-dev] construct the dom tree of non Xml valid page

2008-06-05 Thread Habiba Boulefat
Hi, I tried to construct some html page and it failed, because there is some missing closings tags !!! Habiba. No, it doesn't have to be valid. ___ webkit-dev mailing list webkit-dev@lists.webkit.org

Re: [webkit-dev] construct the dom tree of non Xml valid page

2008-06-05 Thread David Kilzer
What XML (or HTML) did you use? How did it fail? Did you file a bug on https://bugs.webkit.org/? Remember the old saying: Garbage in, garbage out. Just because WebKit attempts to parse whatever you throw at it doesn't mean it will do exactly what you want. (Also remember that XML tends to

[webkit-dev] construct the dom tree of non Xml valid page

2008-06-04 Thread nina
Hello, I want to construct the dom tree of an html page. This page must be Xml valid for construct his dom tree? Thanks Cheers ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev