Sign in Join
FPDoc Onlineexperiment

TDOMCDATASection type

In unit Laz_DOM

Implements the DOM CDataSection interface from the DOM specification.

Declaration

pascal
TDOMCDATASection = laz2_DOM.TDOMCDATASection

Description

TDOMCDATASection is a TDOMText descendant that implements the DOM CDATASection interface from the DOM specification. TDOMCDATASection provides overridden methods needed to implement the NodeType and NodeName properties as required for the DOM Node specialization.

TDOMCDATASection is used to escape text that contains characters that would otherwise be regarded as markup in a DOM document. TDOMCDATASection contains the textual content as it appears between the '<![CDATA[' and ']]>' delimiters. Its primary purpose is to include material such as XML fragments, without needing to escape all of the markup.

Please note that Markup (other than the ending delimiter) is ignored in a CDATA section. This means that the ending delimiter cannot be included in a CDATA section. Character numeric entity references cannot be used to escape content in a CDATA section.

This description is the one of Laz2_DOM.TDOMCDATASection.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.