Creates new node based on a valid class name.
Reference_Syntax.createNode( STRING param1 [, STRING param2 [, STRING param3 ] ] )
param1
A valid string representing the class name of the object to create.
param2 (Optional)
A valid string representing the name to assign to the node. If empty, the value of this parameter defaults to an empty string.
param3 (Optional)
A valid string representing the XML namespace that the created node will exist in. If empty, the value of this parameter defaults to an empty string.
An object representing a valid node.
model class class.
XFA 2.1
// Create a node of type dataGroup. var oGroupNode = xfa.datasets.createNode("dataGroup", "NewGroupNode");
// Create a node of type dataGroup. var oGroupNode = xfa.datasets.createNode("dataGroup", "NewGroupNode")
Creating a node in the data model
Legal Notices | Online Privacy Policy
Content from Scripting Reference (10).
Other versions: