Re: Is anyone using CDATA?

Michael Kay (M.H.Kay@eng.icl.co.uk)
Fri, 20 Feb 1998 16:04:44 -0000


>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