Document Types > XML Support > CDATA and RCDATA Elements
  
CDATA and RCDATA Elements
When writing an SGML document as XML, Arbortext Editor escapes left angle brackets (<) and ampersands (&) in CDATA declared-content elements by writing out the sequences &lt; and &amp; respectively. Meanwhile, the following warning message will be displayed.
Warning. There is at least one '<' or '&' character in a CDATA element. When saving the SGML document as XML, the '<' or '&' character within the CDATA element will be replaced by the lt or amp entity reference respectively.
Note that if the XML document is transformed back to SGML, the lt and amp entity references are not converted back to < and &.
When writing an SGML document as XML, Arbortext Editor escapes left angle brackets (<) in RCDATA declared-content elements by writing out the sequence &lt;.