Is anyone using CDATA?

Michael Kay M.H.Kay at eng.icl.co.uk
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
>CDATA.

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
then
you don't need CDATA.

Mike Kay


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




More information about the Xml-dev mailing list