[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Provides indexed access to Attributes and their value as a String.
Source position: laz2_dom.pas line 655
public property TDOMElement.AttribStrings[Name: DOMString] : DOMString |
AttribStrings is an indexed DOMString property that provides access to the value for a DOM Attribute by its Name. AttribStrings is an extension to the DOM specification. It provides a simpler mechanism for reading and writing Attribute values than the methods provided in the DOM Node interface. It is especially useful for DOM documents where Attributes are known to contain simple DOMString data types (like HTML).
Read and write access to AttribStrings is redirected to the Attributes property. When reading a DOM Attribute, the value is an empty string ('') if the Attributes property does not contain an Attribute node with the requested Name. When writing a DOM Attribute, the Attribute node is created if it does not exist already.
AttribStrings does not take Qualified names or Namespaces into consideration when accessing values in the Attributes property. Use the GetAttributeNS, SetAttributeNS, or RemoveAttributeNS methods when Namespace support is required for DOM Attributes.
|
Contains Attribute for the DOM Node. |
|
|
Gets the value for the AttribStrings property. |
|
|
Sets the value in the AttribStrings property. |
|
|
Gets the value for an Attribute with the specified Namespace URI and local name. |
|
|
Sets the value for the DOM Attribute with the specified Namespace URI and qualified name. |
|
|
Removes the DOM Attribute with the specified Namespace URI and local name. |
Version 3.2 | Generated 2024-02-25 | Home |