1 vote2 comments · Excel for the web » Macros, Scripts and Add-ins · Flag idea as inappropriate… · Admin →
Thank you for adding your request.
Couple of clarification questions to help understand the ask:
- Is the goal to generate XML document from the script? How will the XML be passed to the other programs? Do you intend to use Power Automate flows for that?
- Could you please elaborate on which specific DOM APIs are you looking for?
const doc = document.implementation.createDocument("", "", null);
const peopleElem = doc.createElement(“people”);
suramam @ microsoft . com
An error occurred while saving the commentAnonymous commented
Hi Sudhi, thanks for the reply.
Ideally I would want to just download a file or write it into a cell so I can copy and paste into a file. The other software uses a file to import. The document.implementation API above would be excellent. The methods createElement, createAttribute, createTextNode, createCDATASection would work for all of my use-cases.
DanAnonymous shared this idea ·