New in version 1.1.
XML support.
XML serializer baseclass.
Baseclass for XML serializers.
Build an element tree.
| Parameters: |
|
|---|---|
| Return type: | xml.etree.Element |
Parse an object, potentially representing an element in a XML document.
You must implement this method in order to enable encoding.
| Parameters: |
|
|---|---|
| Return type: | xml.etree.Element |
Parse an element tree.
| Parameters: |
|
|---|---|
| Return type: | object |
Parse an Element, potentially representing a Python object.
You must implement this method in order to enable decoding.
| Parameters: |
|
|---|---|
| Return type: | object |
Helper to create an element with text value.
| Parameters: |
|
|---|---|
| Return type: | xml.etree.Element |
Returns the tag name and namespace, if any.
| Parameters: |
|
|---|---|
| Returns: | A tuple of (string name, string namespace or None) |
| Return type: | tuple |