> I introduced two routines from the sample code: dumpBody and dumpNode.

Obviously the sample code has saved us all some time.
This template is far more valuable then just debugging and visualization;
we will want to traverse the tree in the same way and fold those nodes into our 
nodes,
and create the js objects, and put all the attributes in as object members, and 
so on.
So this is all good, and surprisingly concise.
If no one objects I will probably make some small tweaks and push this,
it's just db5 prints so shouldn't hurt anything.

There's no \r in your patch so I should have no trouble applyihng it.

Once in, we'll want to test it on all sorts of html,
especially embedded with javascript, to make sure the nodes are correct.
After all, we don't know for sure that we can even use this yet,
the conversion from html to nodes has to be almost perfect.
Though I suppose we could report any bugs to the tidy5 team.

Karl Dahlke
_______________________________________________
Edbrowse-dev mailing list
[email protected]
http://lists.the-brannons.com/mailman/listinfo/edbrowse-dev

Reply via email to