Lars Kellogg-Stedman wrote:

> I need to parse this document into a DOM, make some changes, and then
> spit back out the modified file as (X?)HTML (ideally well-formed).  Am
> I going to be able to do this with PyXML?  If not, I'd love to hear
> your suggestions for the appropriate tools.
> 
> Thanks!
> 
> -- Lars
> 

You might want to look into Beautiful Soup. Another approach is to pass 
the document through HTML Tidy and then process the output.

Cheers,
Brian
_______________________________________________
XML-SIG maillist  -  XML-SIG@python.org
http://mail.python.org/mailman/listinfo/xml-sig

Reply via email to