Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.
Aspose.Cells provides the XmlMapCollection.add(string) method, which you can use to import an XML map into a workbook.
The following sample code adds an XML map into the workbook using the XmlMapCollection.add(string) method and saves it as an output Excel file (output.xlsx). The screenshot shows the XML map that has been imported from sample.xml into the output Excel file.

const path = require("path");
const AsposeCells = require("aspose.cells.node");
// The path to the documents directory.
const dataDir = path.join(__dirname, "data");
// Create workbook object
const wb = new AsposeCells.Workbook();
// Add XML map from sample.xml into the workbook
wb.getWorksheets().getXmlMaps().add(path.join(dataDir, "sample.xml"));
// Save the workbook in XLSX format
wb.save(path.join(dataDir, "output_out.xlsx"));
Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.