Method XmlNode():createCData() Foundation
Creates a CDATA node.
CLASS METHOD :createCData( <cContent> ) --> oXmlNode
An XmlNode() object representing the new CDATA node.
The method :createCData() creates a CDATA node, which specifies a section of non-markup/text to the XML parser. CDATA sections can contain characters which normally have a special meaning in XML, such as the less-than (<) or the ampersand (&) characters. These can be used directly within a CDATA section, without having to be replaced by their equivalent named entitites (<, &). Program code or XML markup which is part of the document's content should be placed in a CDATA section, for example.
The CDATA node returned by :createCData() is not associated with any other node. Instead, it must be added to an existing node or document node using the :addChild() method.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.