Re: saxutils.XMLGenerator and CDATA

2006-01-20 Thread Robert Kern
chris wrote: > Confused somewhat xml newbie. I'm trying to output xml with a CDATA > section, using saxutils.XMLGenerator, but the output contains escaped > '<' and '>' and '&' from the CDATA element. Shouldn't it be spit out > intact? > > Here's code and output: > > from xml.sax import saxuti

saxutils.XMLGenerator and CDATA

2006-01-20 Thread chris
Confused somewhat xml newbie. I'm trying to output xml with a CDATA section, using saxutils.XMLGenerator, but the output contains escaped '<' and '>' and '&' from the CDATA element. Shouldn't it be spit out intact? Here's code and output: from xml.sax import saxutils import sys handler = saxut