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

# AutoFilterXMLWriter

## Overview

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

Handles writing autofilter data to XML format for .xlsx files.

This class declares 2 methods for AutoFilterXMLWriter objects in Python programs.
Available methods include: `__init__`, `format_auto_filter_xml`.
Public members are accessible to any Python application after installing the Aspose.Cells FOSS for Python package.

## Methods

| Signature | Description |
|-----------|-------------|
| `__init__(escape_xml_func)` | Initializes a new instance of the AutoFilterXMLWriter class. |
| `format_auto_filter_xml(auto_filter)` | Formats auto filter settings as XML according to ECMA-376 specification. |

## See Also

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