[XML-SIG] xml.parsers.expat not converting aliased CDATA elements
Fred L. Drake, Jr.
fdrake@acm.org
Fri, 25 May 2001 12:32:50 -0400 (EDT)
Alex Morgan writes:
> Will return 'Morse & Feshbach', when I would like it to return the
> original string, as is.
Set the DefaultHandler attribute of the parser object; it will be
called with the unexpanded entity reference as a string '&'.
Depending on what other handlers you set, it may get other things as
well, but always in the marked-up form rather than the interpreted
form.
-Fred
--
Fred L. Drake, Jr. <fdrake at acm.org>
PythonLabs at Digital Creations