[jdom-interest] CDATA whitespace

bob mcwhirter bob at werken.com
Wed Jul 10 08:40:04 PDT 2002


> But it's still a little confusing to me, though, as I wouldn't consider a
> CDATA section to be "text". 

For the longest time, JDOM had no representation for a CDATA section
as it's truly just syntactic sugar for the XML parser itself.

You can do the exactly same thing with CDATA or text context, depending
on how much escaping you want to do.  CDATA merely reduces the XML
escaping headaches.

	-bob




More information about the jdom-interest mailing list