reference:plugins:plugin_sdk:xml_functions:xmladdchildnode

XMLAddChildNode(
     HANDLE:hNodeHandle,
     LPTSTR:pszName
)
→ HANDLE

Arguments

hNodeHandle

[in] The handle to the XML node.

pszName

[in] The name of the new child node to add.

Return value

Returns a handle to the new child node if successful, or NULL on failure.

Description

The XMLAddChildNode function is used to add a new child node to an existing XML node.

Child node handles do not have to be freed. They remain valid for as long as the root XML handle is valid, or until they are deleted.