Export as XML or BPMN

I have gone through the other FAQ and got to know that goJS do not have export as XML or export as BPMN options, but is it in goJS Roadmap for these in upcoming releases…?
And can you guide how can we achieve it.
We have tried, but were not able to find a proper way…

Thanks in advance…

GoJS models operate on JavaScript Objects and Arrays of Objects. So models cannot operate directly on XML DOM. But you can copy the data in both directions – there’s nothing specific to GoJS with such transformations. I know many customers have received and sent their models to their server in their custom XML messages.

At this time we do not plan to support any particular BPMN schema XML.