In my program, I get input from the user and insert it into an XHTML
document. Sometimes, this input will contain XHTML, but since I'm
inserting it as a text node, xml.dom.minidom escapes the angle brackets
('<' becomes '<', '>' becomes '>'). I want to be able to
override this behavior cleanly.
Thanks, that worked!
--
http://mail.python.org/mailman/listinfo/python-list
I'm trying to write a website updating script, but when I run the
script, my function to search the DOM tree returns None instead of what
it should.
I have this program:
import sys
from xml.dom.minidom import parse
# search the tree for an element with a particular class
def findelemen