> Am I on the right track in thinking, well tidy has a central "switch-case" > section over various tag types, and we have a central "switch-case" in
Forgive me I haven't looked at the code at all, but I would guess there's a tidy5 encodeTags() that takes the html text and makes the tree. We would just call that instead of our encodeTags(), thus slicing out all that home grown html parsing code that I wrote, I don't want to be in that business any more. We would then follow up with software to traverse their node tree and build our node tree. The new tree will have more nodes than ours does today, a node for every tag, not just some tags, a note for each block of text, a node for each html comment. So a lot more nodes, but perhaps somewhat backward compatible with what we have today, at least for the first pass, at least to get us going. Then we improve and improve and improve. Karl Dahlke _______________________________________________ Edbrowse-dev mailing list [email protected] http://lists.the-brannons.com/mailman/listinfo/edbrowse-dev
