Represents CDATA sections of the XML document.
CDATA sections are used to escape blocks of text containing characters that would otherwise be regarded as markup.
By default, CDATA sections are parsed into the normal TEXT nodes.
However, when #CDATA
pseudo-elements are enabled, the CDATA sections
will be recognized separately and produce #CDATA
pseudo-elements.
Value:
Content of the CDATA section.Note:
When an XML element (i.e. its data type) has a declared value, that value is produced from the content of all element's child TEXT and CDATA nodes merged together. This, however, does not affect the appearance of those TEXT and CDATA nodes as the element's children of#TEXT
and#CDATA
types.
Example:
The following CDATA section in an XML file:
will produce a<![CDATA[ write '<' instead of '<' here ]]>
#CDATA
pseudo-element with the value:
"write '<' instead of '<' here"