Is anyone using CDATA?

Michael Kay M.H.Kay at
Fri Feb 20 16:03:37 GMT 1998

>Anyone have experiences with CDATA ?  We're interested in inserting
>non-XML markup and BLOBs into XML files, and the best way seems to be

I don't think CDATA is useful for inserting binary data into XML files,
because there is no way of escaping the terminating "]]>". I think the best
way to do it, if you want to do it inline, is to use Base64 encoding, and
you don't need CDATA.

Mike Kay

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at
Archived as:
To (un)subscribe, mailto:majordomo at the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at

More information about the Xml-dev mailing list