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 missin

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-05 Thread David Kilzer
What XML (or HTML) did you use? How did it fail? Did you file a bug on ? 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

[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 http://lists.webkit.org/mailman/listinfo.cgi/webkit

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

2008-06-04 Thread David Kilzer
On Wed, 6/4/08, nina <[EMAIL PROTECTED]> wrote: > I want to construct the dom tree of an html page. > This page must be Xml valid for construct his dom tree? No, it doesn't have to be valid. Dave ___ webkit-dev mailing list webkit-dev@lists.webkit.org

[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