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

TDOMNode.Prefix

Prefix used for the assigned NameSpace in the DOM Node.

Declaration

Source position: laz2_dom.pas line 294

public property TDOMNode.Prefix : DOMString
  read GetPrefix
  write SetPrefix;

Description

Prefix is a DOMString property which contains the prefix part of a qualified name used for the node. Prefix is the identifier used for the namespace URI, and is included in the value for the NodeName property which includes the qualified name. When a qualified name is not used in NodeName, Prefix contains an empty DOMString value (''). Use LocalName for the value in NodeName without the value in Prefix.

Prefix applies to the DOM Element and Attribute node types. For nodes of any type other than ELEMENT_NODE (TDOMElement) and ATTRIBUTE_NODE (TDOMAttr) and nodes created with a DOM Level 1 method, such as createElement from the Document interface, this is always an empty DOMString value.

Prefix implements the Prefix attribute for the DOM Node interface in the DOM Level 2 Specification.

See also

TDOMNode.LocalName

  

Name without the NameSpace prefix assigned to the DOM Node.

TDOMNode.NamespaceURI

  

URI for the NameSpace assigned to the DOM Node.

TDOMNode_NS

  

Implements a DOM Node with Namespace support.

TDOMElement

  

Implements the DOM Element interface from the DOM specification.

TDOMAttr

  

Implements a DOM Node for attributes with Namespace support.


Version 3.2 Generated 2024-02-25 Home