---
Product: Aspose.Cells
Platform: python
Page Type: reference
Canonical URL: https://reference.aspose.org/cells/python/datavalidationxmlloader
---

# DataValidationXmlLoader

## Overview

`DataValidationXmlLoader` is a class in Aspose.Cells FOSS for Python.

Loads DataValidation objects from ECMA-376 SpreadsheetML XML format.

This class declares 4 methods for DataValidationXmlLoader objects in Python programs.
Available methods include: `__init__`, `load_data_validations`, `load_from_file`, `load_from_xml_string`.
Public members are accessible to any Python application after installing the Aspose.Cells FOSS for Python package.
Properties: `namespace`, `ns_prefix`.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `namespace` | - | Read | Gets the namespace. |
| `ns_prefix` | - | Read | Gets the ns prefix. |

## Methods

| Signature | Description |
|-----------|-------------|
| `__init__(namespace)` | Initializes the DataValidationXmlLoader. |
| `load_data_validations(parent_element)` | Loads a DataValidationCollection from a parent XML element. |
| `load_from_xml_string(xml_string)` | Loads validations from an XML string. |
| `load_from_file(file_path)` | Loads validations from an XML file. |

## See Also

- [Aspose.Cells for Python — Enterprise API Reference](https://reference.aspose.com/cells/python-java/)