Amaury Forgeot d'Arc added the comment:
Note that there is no "need" to emit CDATA section: it's just another method to
write data, just like in Python "\x41" and "A" are not distinct.
The workaround there is a hack, since it redefines an "internal" method
_write(). This function is an imple
New submission from Pedro Andres Aranda Gutierrez :
When creating ElementTree objects that hold SVG drawings, I need a CDATA object
similar to the ProcessingInstruction object. There was a circumvention of the
problem for Python 2.6:
http://stackoverflow.com/questions/174890/how-to-output-cdat