[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Creates an element in the document with the specified tag name.
Source position: laz2_dom.pas line 508
public function TDOMDocument.CreateElementBuf( |
Buf: DOMPChar; |
Length: Integer |
):TDOMElement; |
Buf |
|
Pointer to character data used as the tag name for the Element. |
Length |
|
Length of the values in Buf. |
DOM Element created in the method.
CreateElementBuf is a TDOMElement function used to create a new DOM Element with the tag name specified in the Buf argument. Buf is a DOMPChar type that contains a pointer the character data for the tagName.
CreateElementBuf calls Alloc to create the DOM Element in the internal node pool for the document. The value in Buf is checked for a qualified name matching a Namespace registered in the document, and added to the Namespace index if it does not already exist.
|
Implements the DOM Element interface from the DOM specification. |
Version 3.2 | Generated 2024-02-25 | Home |