Hi,
I would like to create an xml file from my process diagram to be able to automate some actions from the content of this file using a third party app.
How could i do that?
Could we use some javascript library like filesaver.js or simply use a few line of code like that:
// Create the URL with the data to export
const file = new File([data], fileName, { type: "text/plain" });
const exportUrl = URL.createObjectURL(file);
const a = document.createElement("a");
document.body.appendChild(a);
a.href = exportUrl;
a.download = fileName;
a.target = "_self";
a.click();
URL.revokeObjectURL(exportUrl);
In adding package in the package.json file?
Best regards.