Converts a Python dictionary or other native data type into a valid XML string.
86
Debug logging to a chosen file
XML conversion
100%
100%
Enable logging
100%
50%
Disable logging
100%
0%
Log file content
100%
50%
Recursive handling of nested mappings and sequences
dicttoxml core
100%
100%
Root control
100%
100%
Type metadata toggle
100%
100%
Item naming
100%
100%
Output type
100%
100%
Empty branch handling
100%
100%
Convert Python objects to XML output
Root and items
50%
50%
ID annotations
100%
100%
Type metadata
100%
100%
CDATA option
100%
100%
Output format
100%
100%
Default XML document wrapping with customizable root tag
dicttoxml usage
100%
100%
Default root
75%
90%
Custom root tag
80%
100%
Invalid root normalization
100%
100%
Return type control
30%
100%
Return bytes or string output
Library conversion
100%
100%
Byte default
100%
100%
Text toggle
0%
100%
Content parity
100%
100%
Optional type metadata and unique id attributes
dicttoxml usage
100%
100%
Type toggle
100%
100%
ID toggle
100%
100%
Root wrapper
100%
100%
Return bytes
100%
100%
Toggle XML declaration, root wrapping, and encoding metadata
Uses dicttoxml
100%
100%
Declaration toggle
25%
100%
Root control
50%
100%
Encoding metadata
25%
100%
Return type
53%
100%
Wrap values in CDATA sections
CDATA flag
100%
100%
Numeric plain
25%
0%
Root naming
100%
50%
Byte output
50%
50%
Dicttoxml-driven
40%
50%
Type-annotated elements with datetime and boolean normalization
Uses dicttoxml
100%
100%
String output
100%
100%
Type attributes
100%
100%
Datetime ISO
100%
25%
Boolean normalization
66%
100%
Structure preserved
100%
100%
XML-safe element naming and value escaping
dicttoxml call
100%
100%
Root/declaration
100%
100%
Name safety
100%
0%
Escaping
100%
100%
Byte output
70%
100%
Install with Tessl CLI
npx tessl i tessl/pypi-dicttoxml