Re: CDATA by any other name... (was The raw and the cooked)

John Cowan (cowan@locke.ccil.org)
Mon, 02 Nov 1998 10:28:52 -0500


Paul Prescod wrote:

> Is there a standard way for the DOM client software to say whether it
> wants access to CDATA sections or not?

No. In fact, the DOM level 1 does not define any API for the
creator, only for the accessor. You can add elements and other
things, but you can't create or populate a DOM using only the
standard API.

DOM Level 1 is an ugly mess, and the only justification for it
is to keep Netscape and Microsoft from implementing even uglier
incompatible DOMs.

-- 
John Cowan	http://www.ccil.org/~cowan		cowan@ccil.org
	You tollerday donsk?  N.  You tolkatiff scowegian?  Nn.
	You spigotty anglease?  Nnn.  You phonio saxo?  Nnnn.
		Clear all so!  'Tis a Jute.... (Finnegans Wake 16.5)