isogeo_xml_toolbelt.models.xml_19139_fields module

Isogeo XML Fixer - Metadata

Purpose: Read a metadata stored into XML ISO 19110 as an object Authors: Isogeo, inspired by the work did by GeoBretagne on mdchecker Python: 3.6.x

class isogeo_xml_toolbelt.models.xml_19139_fields.Contact(contact, namespaces)[source]

Bases: object

Contact in metadata XML 19139

Parameters:
  • contact (lxml.etree._ElementTree) – Element {http://www.isotc211.org/2005/gmd}CI_ResponsibleParty
  • namespaces (dict) – XML namespaces like lxml.etree.getroot().nsmap
asDict() → dict[source]

Return contact as a structured dictionary key: value.