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

TXMLDocument

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

Implements an XML Document.

Declaration

Source position: laz2_dom.pas line 540

type TXMLDocument = class(TDOMDocument)

public

  Encoding: DOMString;

  

Encoding used for the XML Document.

  StylesheetType: DOMString;

  

Type of Stylesheet represented by the StylesheetHRef property.

  StylesheetHRef: DOMString;

  

URL for the Stylesheet to use for the Document.

  function CreateCDATASection(); override;

  

Creates a new CDATA section in the document.

  function CreateProcessingInstruction(); override;

  

Creates a new Processing Instruction in the document.

  function CreateEntityReference(); override;

  

Creates a new Entity Reference in the document.

  property XMLVersion: DOMString; [rw]

  

XML Version number supported in the document.

end;

Inheritance

TXMLDocument

  

Implements an XML Document.

|

TDOMDocument

  

Implements the DOM Document interface.

|

TDOMNode_WithChildren

  

Extends TDOMNode to allocate storage for child nodes.

|

TDOMNode

  

Implements the DOM Node interface.

|

TObject

Description

TXMLDocument is a TDOMDocument descendant that implements an XML Document. TXMLDocument provides extensions to the DOM Document interface needed when working with an XML Document. This includes the XMLVersion property as well as the Encoding, StylesheetType, and StylesheetHRef members. Overridden methods are also provided to handle creation of CDATA sections and Processing Instructions using valid XML names for the XMLVersion used in the document.

See also

TDOMDocument

  

Implements the DOM Document interface.


Version 3.2 Generated 2024-02-25 Home