Hide navigation sidebar
Hide table of contents sidebar
Skip to content
Back to top
View this page
Toggle table of contents sidebar

# dicttoxml(2)

## Fork

The original repository and project remained stale for numerous years. No one to blame but ourselves, in those cases we have to act accordignly and respectfully to every individuals.

I choose to maintain a fork.

## Overview

Converts a Python dictionary or other native data type into a valid XML string. This is a fork that support Python 3.9 and forward versions and drop all EOL (<=3.6) versions altogether. It is mostly backward-compatible, act as a drop-in replacement.

### Start Guide

- Installation
- Basic Usage
- JSON to XML
- Disable Type Attributes
- Custom Root
- XML Snippet
- Pretty-Printing
- Unique ID Attributes
- Dict-Like and Iterable Objects
- Define Custom Item Names
- CDATA
- Debugging
- List Folding

### Developer Guide

- Developer Interfaces
  - Main Interfaces
    - `dicttoxml()`