Export diagram as BPMN 2.0 XML

Hey,

i am using the BpmnModeler und create a Business Process in SVG format and it works fine, but now i want to export it to xml. I didn’t find any hint how to do it.

Please help me :slight_smile:

Cheers
Uwe

The modeler provides #saveXML(callback) to export the modeled diagram as BPMN 2.0 XML.