Parameter | Description | |||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
iNodeType | Valid node types are:
| |||||||||||||||||||||||||||
sTagName | Tag Name for new node | |||||||||||||||||||||||||||
sNameSpace | Namespace name of new node |
If successful, the function returns an object handle for the newly created node. If zero is returned, the operation failed.
Function CreateChildNode Integer iNodeType String sTagName String sNameSpace Returns Handle
Call: | Get CreateChildNode iNodeType sTagName sNameSpace to HandleVariable |
CreateChildNode creates a node in the document and assign its interface to the new DataFlex object.
You can use the message CreateChildNode to create namespace nodes where you pass the tag and namespace as a separate parameter. See AddElement for more information on namespaces.