TDOMDocument.CreateElementBuf function
Creates an element in the document with the specified tag name.
Declaration
function CreateElementBuf(Buf: DOMPChar; &Length: Integer): TDOMElementArguments
Buf | Pointer to character data used as the tag name for the Element. |
Length | Length of the values in Buf. |
Function result
DOM Element created in the method.
Description
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.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
