Workbook.ExportXml
Contents
[
Hide
]ExportXml(string, string)
Export XML data linked by the specified XML map.
public void ExportXml(string mapName, string path)
Parameter | Type | Description |
---|---|---|
mapName | String | name of the XML map that need to be exported |
path | String | the export path |
Examples
The following code exported the data linked by the first XmlMap.
Workbook wb = new Workbook("Book1.xlsx");
//Make sure that the source xlsx file contains a XmlMap.
XmlMap xmlMap = wb.Worksheets.XmlMaps[0];
wb.ExportXml(xmlMap.Name, "output.xml");
See Also
- class Workbook
- namespace Aspose.Cells
- assembly Aspose.Cells
ExportXml(string, Stream)
Export XML data.
public void ExportXml(string mapName, Stream stream)
Parameter | Type | Description |
---|---|---|
mapName | String | name of the XML map that need to be exported |
stream | Stream | the export stream |
See Also
- class Workbook
- namespace Aspose.Cells
- assembly Aspose.Cells