Export diagram as BPMN 2.0 XML

@Dex Which web modeler do you refer to? This question is specifically about how to export diagrams from instances of our BPMN modeler that you embedded yourself.

Please link to this thread from new topic and establish the relevant context.