DataValidationXmlSaver

DataValidationXmlSaver

Overview

DataValidationXmlSaver is a class in Aspose.Cells FOSS for Python.

Saves DataValidation objects to ECMA-376 SpreadsheetML XML format.

This class provides 4 methods for working with DataValidationXmlSaver objects in Python programs. Available methods include: __init__, create_data_validations_xml, save_data_validations, to_xml_string. All public members are accessible to any Python application after installing the Aspose.Cells FOSS for Python package. Properties: namespace.

Properties

NameTypeAccessDescription
namespace``ReadGets the namespace.

Methods

SignatureDescription
__init__(namespace)Initializes the DataValidationXmlSaver.
save_data_validations(validations, parent_element)Saves a DataValidationCollection to XML as a child of the parent element.
create_data_validations_xml(validations)Creates a standalone dataValidations XML element.
to_xml_string(validations, include_declaration)Converts validations to an XML string.

See Also