[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'Laz2_DOM' (#lazutils)

TDOMCDATASection

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Implements the DOM CDataSection interface from the DOM specification.

Declaration

Source position: laz2_dom.pas line 693

type TDOMCDATASection = class(TDOMText)

protected

  function GetNodeType; override;

  

Gets the value for the NodeType property.

  function GetNodeName; override;

  

Gets the value for the NodeName property.

public

  function CloneNode(); override; overload;

  

Makes a copy of the DOM CDATA Section.

end;

Inheritance

TDOMCDATASection

  

Implements the DOM CDataSection interface from the DOM specification.

|

TDOMText

  

Implements the DOM Text interface from the DOM specification.

|

TDOMCharacterData

  

Implements the CharacterData interface from the DOM specification.

|

TDOMNode

  

Implements the DOM Node interface.

|

TObject

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.

See also

TDOMText

  

Implements the DOM Text interface from the DOM specification.


Version 3.2 Generated 2024-02-25 Home