Share via


2.1.8 CDATA Sections

CDATA sections are used in text XML documents to simplify the storing of code or markup sections. The CDATA token can be used to preserve the CDATA sections specified in the original XML document when encoding in binary XML.

  cdsect  =  1*(CDATA-TOKEN textdata) CDATAEND-TOKEN

Multiple CDATA chunks (CDATA-TOKEN and textdata) MUST be considered as a single CDATA section until CDATAEND-TOKEN is reached.