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

TNamespaceInfo

Represents Namespace Information used in DOM Node specializations.

Declaration

Source position: laz2_dom.pas line 558

type TNamespaceInfo = packed record

  NSIndex: Word;

  

Index position for the Namespace.

  PrefixLen: Word;

  

Length of the Namespace Prefix.

  QName: PHashItem;

  

Qualified Name for the Namespace.

end;

Description

TNamespaceInfo is a packed record type used to represent Namespace Information used in DOM Node specializations. Members in the record are used to record the Index Position, PrefixLength, and a hash value for a Qualified Name assigned to namespaced DOM Elements and Attributes. TNamespaceInfo is the type used for the NSI property in TDOMNode_NS.

Please note that the NSIndex and PrefixLength members are declared as Word values. This limits the number of namespaces per document and the prefix length to 65535 (each). It is believed that higher values are only found in deliberately malformed documents.

See also

TDOMNode_NS.NSI

  

Provides access to Namespace information for the DOM node.

TDOMDocument

  

Implements the DOM Document interface.

TDOMElement

  

Implements the DOM Element interface from the DOM specification.


Version 3.2 Generated 2024-02-25 Home