
## XmlSaveOptions class

Represents the options of saving the workbook as an xml file.



**Inheritance:** [`XmlSaveOptions`](/cells/python-net/aspose.cells/xmlsaveoptions) → 
[`SaveOptions`](/cells/python-net/aspose.cells/saveoptions)



The XmlSaveOptions type exposes the following members:

### Constructors
| Constructor | Description |
| :- | :- |
| [`__init__(self)`](/cells/python-net/aspose.cells/xmlsaveoptions/__init__/#) | Creates options for saving xml file. |


### Properties
| Property | Description |
| :- | :- |
| [save_format](/cells/python-net/aspose.cells/xmlsaveoptions/save_format) | Gets the save file format. |
| [clear_data](/cells/python-net/aspose.cells/xmlsaveoptions/clear_data) | Make the workbook empty after saving the file. |
| [cached_file_folder](/cells/python-net/aspose.cells/xmlsaveoptions/cached_file_folder) | The folder for temporary files that may be used as data cache. |
| [validate_merged_areas](/cells/python-net/aspose.cells/xmlsaveoptions/validate_merged_areas) | Indicates whether validate merged cells before saving the file. |
| [merge_areas](/cells/python-net/aspose.cells/xmlsaveoptions/merge_areas) | Indicates whether merge the areas of conditional formatting and validation before saving the file. |
| [create_directory](/cells/python-net/aspose.cells/xmlsaveoptions/create_directory) | If true and the directory does not exist, the directory will be automatically created before saving the file. |
| [sort_names](/cells/python-net/aspose.cells/xmlsaveoptions/sort_names) | Indicates whether sorting defined names before saving file. |
| [sort_external_names](/cells/python-net/aspose.cells/xmlsaveoptions/sort_external_names) | Indicates whether sorting external defined names before saving file. |
| [refresh_chart_cache](/cells/python-net/aspose.cells/xmlsaveoptions/refresh_chart_cache) | Indicates whether refreshing chart cache data |
| [warning_callback](/cells/python-net/aspose.cells/xmlsaveoptions/warning_callback) | Gets or sets warning callback. |
| [check_excel_restriction](/cells/python-net/aspose.cells/xmlsaveoptions/check_excel_restriction) | Whether check restriction of excel file when user modify cells related objects.<br/>For example, excel does not allow inputting string value longer than 32K.<br/>When you input a value longer than 32K, it will be truncated. |
| [update_smart_art](/cells/python-net/aspose.cells/xmlsaveoptions/update_smart_art) | Indicates whether updating smart art setting.<br/>The default value is false. |
| [encrypt_document_properties](/cells/python-net/aspose.cells/xmlsaveoptions/encrypt_document_properties) | Indicates whether encrypt document properties when saving as .xls file.<br/>The default value is true. |
| [sheet_indexes](/cells/python-net/aspose.cells/xmlsaveoptions/sheet_indexes) | Represents the indexes of exported sheets. |
| [export_area](/cells/python-net/aspose.cells/xmlsaveoptions/export_area) | Gets or sets the exporting range. |
| [has_header_row](/cells/python-net/aspose.cells/xmlsaveoptions/has_header_row) | Indicates whether the range contains header row. |
| [xml_map_name](/cells/python-net/aspose.cells/xmlsaveoptions/xml_map_name) | Indicates whether exporting xml map in the file. |
| [sheet_name_as_element_name](/cells/python-net/aspose.cells/xmlsaveoptions/sheet_name_as_element_name) | Indicates whether exporting sheet's name as the name of the element. |
| [data_as_attribute](/cells/python-net/aspose.cells/xmlsaveoptions/data_as_attribute) | Indicates whether exporting data as attributes of element. |



### See Also
* module [`aspose.cells`](..)
* class [`SaveOptions`](/cells/python-net/aspose.cells/saveoptions)
* class [`XmlSaveOptions`](/cells/python-net/aspose.cells/xmlsaveoptions)
