Thank you for the reply. I am generating my bpmn file via Activiti. I am not sure how to get it to a XMI file. Below is a sample of the output that is generated from Activiti. Thanks again for your help.
[code]<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns="
http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance" xmlns:activiti="
http://activiti.org/bpmn" xmlns:bpmndi="
http://www.omg.org/spec/BPMN/20100524/DI" xmlns:omgdc="
http://www.omg.org/spec/DD/20100524/DC" xmlns:omgdi="
http://www.omg.org/spec/DD/20100524/DI" typeLanguage="
http://www.w3.org/2001/XMLSchema" expressionLanguage="
http://www.w3.org/1999/XPath" targetNamespace="
http://www.activiti.org/test">
<process id="helloworld" name="helloworld">
<startEvent id="startevent1" name="Start">
<extensionElements>
<activiti:formProperty id="123" name="Test" required="true" readable="true" writable="true"></activiti:formProperty>
</extensionElements>
</startEvent>
<endEvent id="endevent1" name="End"></endEvent>
<userTask id="usertask1" name="User Task" activiti:assignee="kermit"></userTask>
<exclusiveGateway id="exclusivegateway1" name="Exclusive Gateway"></exclusiveGateway>
<userTask id="usertask2" name="User Task" activiti:assignee="kermit"></userTask>
<userTask id="usertask3" name="User Task" activiti:assignee="kermit"></userTask>
<exclusiveGateway id="exclusivegateway2" name="Exclusive Gateway"></exclusiveGateway>
<userTask id="usertask4" name="User Task" activiti:assignee="kermit"></userTask>
<sequenceFlow id="flow1" name="" sourceRef="startevent1" targetRef="usertask1"></sequenceFlow>
<sequenceFlow id="flow2" name="" sourceRef="usertask1" targetRef="exclusivegateway1"></sequenceFlow>
<sequenceFlow id="flow3" name="" sourceRef="exclusivegateway1" targetRef="usertask2"></sequenceFlow>
<sequenceFlow id="flow4" name="" sourceRef="exclusivegateway1" targetRef="usertask3"></sequenceFlow>
<sequenceFlow id="flow5" name="" sourceRef="usertask3" targetRef="exclusivegateway2"></sequenceFlow>
<sequenceFlow id="flow6" name="" sourceRef="usertask2" targetRef="exclusivegateway2"></sequenceFlow>
<sequenceFlow id="flow7" name="" sourceRef="exclusivegateway2" targetRef="usertask4"></sequenceFlow>
<sequenceFlow id="flow8" name="" sourceRef="usertask4" targetRef="endevent1"></sequenceFlow>
</process>
<bpmndi:BPMNDiagram id="BPMNDiagram_helloworld">
<bpmndi:BPMNPlane bpmnElement="helloworld" id="BPMNPlane_helloworld">
<bpmndi:BPMNShape bpmnElement="startevent1" id="BPMNShape_startevent1">
<omgdc:Bounds height="35" width="35" x="10" y="260"></omgdc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="endevent1" id="BPMNShape_endevent1">
<omgdc:Bounds height="35" width="35" x="1190" y="260"></omgdc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="usertask1" id="BPMNShape_usertask1">
<omgdc:Bounds height="55" width="105" x="210" y="250"></omgdc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="exclusivegateway1" id="BPMNShape_exclusivegateway1">
<omgdc:Bounds height="40" width="40" x="440" y="257"></omgdc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="usertask2" id="BPMNShape_usertask2">
<omgdc:Bounds height="55" width="105" x="570" y="40"></omgdc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="usertask3" id="BPMNShape_usertask3">
<omgdc:Bounds height="55" width="105" x="580" y="540"></omgdc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="exclusivegateway2" id="BPMNShape_exclusivegateway2">
<omgdc:Bounds height="40" width="40" x="830" y="257"></omgdc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="usertask4" id="BPMNShape_usertask4">
<omgdc:Bounds height="55" width="105" x="1000" y="250"></omgdc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge bpmnElement="flow1" id="BPMNEdge_flow1">
<omgdi:waypoint x="45" y="277"></omgdi:waypoint>
<omgdi:waypoint x="210" y="277"></omgdi:waypoint>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge bpmnElement="flow2" id="BPMNEdge_flow2">
<omgdi:waypoint x="315" y="277"></omgdi:waypoint>
<omgdi:waypoint x="440" y="277"></omgdi:waypoint>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge bpmnElement="flow3" id="BPMNEdge_flow3">
<omgdi:waypoint x="460" y="257"></omgdi:waypoint>
<omgdi:waypoint x="460" y="67"></omgdi:waypoint>
<omgdi:waypoint x="570" y="67"></omgdi:waypoint>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge bpmnElement="flow4" id="BPMNEdge_flow4">
<omgdi:waypoint x="460" y="297"></omgdi:waypoint>
<omgdi:waypoint x="460" y="567"></omgdi:waypoint>
<omgdi:waypoint x="580" y="567"></omgdi:waypoint>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge bpmnElement="flow5" id="BPMNEdge_flow5"