How to create a CDATA XML node

Martin v. Löwis martin at v.loewis.de
Fri Mar 21 02:05:34 EST 2003


Steven Taschuk <staschuk at telusplanet.net> 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.

Regards,
Martin





More information about the Python-list mailing list