Provides generic XML views
This modules defines several basic views for serializing data to XML. Submodels that have already been serialized as XML may have their string values marked with __is_xml__ = True using openstack.common.report.utils.StringWithAttrs (each of the classes within this module does this automatically, and non-naive serializers check for this attribute and handle such strings specially)
Bases: object
A Key-Value XML View
This view performs advanced serialization of a data model into XML. It first deserializes any values marked as XML so that they can be properly reserialized later. It then follows the following rules to perform serialization:
Parameters: | wrapper_name (str) – the name of the top-level element |
---|