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

# SparklineXmlSaver

## Overview

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

Serialises SparklineGroupCollection to <extLst> XML.

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

## Methods

| Signature | Description |
|-----------|-------------|
| `__init__(escape_xml_fn)` | Calls __init__(escape_xml_fn) on this SparklineXmlSaver instance. |
| `format_sparkline_extlst_xml(worksheet)` → `str` | Return the complete <extLst>...</extLst> XML string for sparklines, or '' if the worksheet has no sparklines. |

## See Also

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