Stefan,
Thank you. The reason that I am using xml.dom.minidom is that I am
restricted to a stock RHEL5 stack. That means 2.4 with nothing added.
(Welcome to US Army IT !!!)
But, I figured out that I need to back up from xml.dom.minidom to
xml.dom and then I can use createCDATASection and get what
Chaim Krause, 13.04.2010 17:26:
I am building a web page (HTML 4.01 Transitional) using
xml.dom.minidom. I have created a
I am looking to find the best answer to my question, but in the mean
time I have resorted to monkey patching.
def _write_data_no_quote(writer, data):
"Writes datachars to writer."
data = data.replace("&", "&").replace("<", "<")
data = data.replace(">", ">")
writer.write(data)
mini