How to create a CDATA XML node

Steven Taschuk staschuk at
Fri Mar 21 16:30:19 CET 2003

Quoth Martin v. Löwis:
> Steven Taschuk <staschuk at> writes:
> > As far as I know, DOM has no notion of CDATA nodes; they are
> > considered a low-level detail which does not properly belong in
> > the model.
> That is not true. The DOM has (atleast in level 2) an interface
> CDATASection, and an operation Document::createCDATASection.  They are
> extension interfaces, supported only if an implementation supports the
> "xml" feature.

Erk!  Yes, even Level 1 has them.  Disregard my previous, utterly
false, post.

I think I must have been thinking of SAX.

Steven Taschuk                               staschuk at
"What I find most baffling about that song is that it was not a hit."
                                          -- Tony Dylan Davis (CKUA)

More information about the Python-list mailing list