Sign in Join
FPDoc Onlineexperiment

TDOMDocument type

In unit Laz_DOM

Implements the DOM Document interface.

Declaration

pascal
TDOMDocument = laz2_DOM.TDOMDocument

Description

TDOMDocument is a TDOMNode_WithChildren descendant that implements the DOM Document interface from the DOM specification. TDOMDocument is the container that represents the content for the entire HTML or XML document. It acts as the root of the DOM tree.

TDOMDocument provides factory methods needed to create elements, attributes, text nodes, comments, processing instructions, etc. These items cannot exist without an owner document. It also provides methods used to import nodes created in another document or document fragment.

TDOMDocument provides support for XML Namespaces introduced in DOM Level 2. The following namespace prefixes and URIs are always assigned in TDOMDocument:

Prefix Namespace URI
xml http://www.w3.org/XML/1998/namespace
xmlns http://www.w3.org/2000/xmlns/

TDOMDocument includes the DocumentURI property introduced in DOM Level 3.

This description is the one of Laz2_DOM.TDOMDocument.

See also

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