I can't save string buffer as file and send it, because I'm using elastic beanstalk. I just have a string and I need to user can download this as xml document.
router.get('/', (req, res) => {
let xml = `<note>
<to>Tove</to>
<from>Jani</from>
<heading>Reminder</heading>
<body>Don't forget me this weekend!</body>
</note>`;
//What next?
});