Evaluates the reference syntax expression using the current context and sets the value of the found node. If the node doesn’t exist, it can be created.
Reference_Syntax.assignNode( STRING param1 [, STRING param2 [, INTEGER param3 ] ] )
param1
A valid string representing a reference syntax expression that points to a particular node.
param2 (Optional)
A valid string representing the value to assign to the node.
param3 (Optional)
An integer value representing the action to take when creating new nodes. The following are the valid parameter values:
0
If the node exists, the value is updated. If the node doesn’t exist, it is created.
1
If the node exists, an error is thrown. If the node doesn’t exist, it is created.
2
If the node exists, no action is taken. If the node doesn’t exist, it is created.
3
A new node is always created.
An object corresponding to the specified node.
node class class
XFA 2.1
Legal Notices | Online Privacy Policy
Content from Scripting Reference (10).
Other versions: