Last active
November 10, 2023 04:57
How to Convert XML to CSV using Node.js. For more information: https://kb.aspose.com/cells/nodejs/how-to-convert-xml-to-csv-using-nodejs/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var aspose = aspose || {}; | |
aspose.cells = require("aspose.cells"); | |
//Set the license | |
new aspose.cells.License().setLicense("License.lic"); | |
// Load XML file | |
var book = new aspose.cells.Workbook("input.xml"); | |
// Convert to CSV | |
book.save("xml-to-csv.csv", aspose.cells.SaveFormat.CSV); | |
console.log("XML to CSV conversion performed successfully"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment