Example 12     <<      >>       intro       contents     

CDATA sections are used to escape blocks of text containing characters which would otherwise be recognized as markup. CDATA sections begin with the string "<![CDATA[" and end with the string "]]>". The string ']]>' must not occur inside CDATA section.

  Well-formed documents   HOME     

CDATA section :

               <example>
                    <![CDATA[ <aaa>bb&cc<<<]]>
               </example>
               
            

  Documents with errors   HOME     

CDATA section must not contain ']]>' :

               <example>
                    <![CDATA[ <aaa>bb ]]>cc<<<]]>
               </example>