XForms provides a number of action handlers that can add and remove nodes in the instance data, as well as change the values of nodes. It's also possible to gain access to the instance data via an XML DOM so that values can be changed through script, if necessary.

