TDOMNode.Prefix property
Prefix used for the assigned NameSpace in the DOM Node.
Declaration
property 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
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
