everest.representers.xml

XML representers.

class everest.representers.xml.XmlMappingRegistry[source]

Bases: everest.representers.mapping.MappingRegistry

Registry for XML mappings.

NS_MAP = {'xsi': 'http://www.w3.org/2001/XMLSchema-instance'}

Static namespace prefix: namespace map.

configuration_class

alias of XmlRepresenterConfiguration

class everest.representers.xml.XmlRepresenterConfiguration(options=None, attribute_options=None)[source]

Bases: everest.representers.config.RepresenterConfiguration

Specialized configuration class for XML representers.

Allowed configuration attribute names:

xml_tag :
The XML tag to use for the represented data element class.
xml_schema :
The XML schema to use for the represented data element class.
xml_ns :
The XML namespace to use for the represented data element class.
xml_prefix :
The XML namespace prefix to use for the represented data element class.

Project Versions

Previous topic

everest.representers.utils

Next topic

everest.resources.attributes

This Page