How *build* new elements and *replace* elements with xml.dom.minidom ?

Chris Seberino cseberino at gmail.com
Wed Jun 10 18:38:00 EDT 2009


How build new elements to replace existing ones using xml.dom.minidom?

Specifically, I have an HTML table of numbers.  I want to replace
those numbers with hyperlinks to create a table of hyperlinks.

So I need to build hyperlinks (a elements) with href attribute and
replace the text elements (numbers) somehow.

How do that?

chris



More information about the Python-list mailing list