[webkit-gtk] dump dom structure
hairroot at gmail.com
Tue Apr 10 02:01:14 PDT 2012
I would like to dump dom structure(not html source, but dom tree) into a
After investigation, I found it's not easy. I come up with the following
a. begin with Document object
b. find all child nodes under it
c. dump child node according to its type
however, this process has two main problems
1. text node seems not to be represented as child nodes
2. dump child node according to its type(eg. WebKitDOMHTMLLIElement) is
still hard in that I need to every attrs and props in that type.
Any help is appreciated.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the webkit-gtk