On Jan 23, 7:39 pm, "A.T.Hofkamp" <[EMAIL PROTECTED]> wrote: > On 2008-01-23, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > Hi, I am looking for a HTML parser who can parse a given page into > > a DOM tree, and can reconstruct the exact original html sources. > > Why not keep a copy of the original data instead? > > That would be VERY MUCH SIMPLER than trying to reconstruct a parsed tree back > to original source text. > > sincerely, > Albert
Thank u for your reply. but what I really need is the mapping between each DOM nodes and the corresponding original source segment. -- http://mail.python.org/mailman/listinfo/python-list