GpelAssignCopyFrom headerFrom = new GpelAssignCopyFrom(ns);
headerFrom.xml().setAttributeValue(PART_STR, LEAD_HEADER_STR);
headerFrom.xml().setAttributeValue(VARIABLE_STR, WORKFLOW_INPUT_STR);
GpelAssignCopyTo headerTo = new GpelAssignCopyTo(ns);
headerTo.xml().setAttributeValue(PART_STR, LEAD_HEADER_STR);
headerTo.xml().setAttributeValue(VARIABLE_STR,
next.xml().attributeValue(INPUT_VARIABLE_STR));
GpelAssignCopy headerCopy = new GpelAssignCopy(ns, headerFrom,
headerTo);
GpelAssign assign = (GpelAssign) last;