Added a form submit handler for node edit form on creation of activiti nodes so that I could have the xml uploaded parsed during initial save. Currently with these loops I can get back a tremendous amount of information in the bpmn file