Aspose::Cells::Workbook::ExportXml method
Contents
[
Hide
]Workbook::ExportXml(const U16String&, const U16String&) method
Export XML data linked by the specified XML map.
void Aspose::Cells::Workbook::ExportXml(const U16String &mapName, const U16String &path)
Parameter | Type | Description |
---|---|---|
mapName | const U16String& | name of the XML map that need to be exported |
path | const U16String& | the export path |
Examples
Aspose::Cells::Startup();
//The following code exported the data linked by the first XmlMap.
Workbook wb(u"Book1.xlsx");
//Make sure that the source xlsx file contains a XmlMap.
XmlMap xmlMap = wb.GetWorksheets().GetXmlMaps().Get(0);
U16String val = u"output.xml";
wb.ExportXml(xmlMap.GetName(), val);
Aspose::Cells::Cleanup();
See Also
- Class Vector
- Class U16String
- Class Workbook
- Namespace Aspose::Cells
- Library Aspose.Cells for C++
Workbook::ExportXml(const char16_t*, const char16_t*) method
Export XML data linked by the specified XML map.
void Aspose::Cells::Workbook::ExportXml(const char16_t *mapName, const char16_t *path)
Parameter | Type | Description |
---|---|---|
mapName | const char16_t* | name of the XML map that need to be exported |
path | const char16_t* | the export path |
Examples
Aspose::Cells::Startup();
//The following code exported the data linked by the first XmlMap.
Workbook wb(u"Book1.xlsx");
//Make sure that the source xlsx file contains a XmlMap.
wb.ExportXml(u"XmlMapName", u"output.xml");
Aspose::Cells::Cleanup();
See Also
- Class Vector
- Class Workbook
- Namespace Aspose::Cells
- Library Aspose.Cells for C++
Workbook::ExportXml(const U16String&) method
Export XML data.
Vector<uint8_t> Aspose::Cells::Workbook::ExportXml(const U16String &mapName)
Parameter | Type | Description |
---|---|---|
mapName | const U16String& | name of the XML map that need to be exported |
See Also
- Class Vector
- Class U16String
- Class Workbook
- Namespace Aspose::Cells
- Library Aspose.Cells for C++
Workbook::ExportXml(const char16_t*) method
Export XML data.
Vector<uint8_t> Aspose::Cells::Workbook::ExportXml(const char16_t *mapName)
Parameter | Type | Description |
---|---|---|
mapName | const char16_t* | name of the XML map that need to be exported |
See Also
- Class Vector
- Class Workbook
- Namespace Aspose::Cells
- Library Aspose.Cells for C++