code: def setimdi(self, node): #OBSOLETE
          
          ns = {'imdi': 'http://www.mpi.nl/IMDI/Schema/IMDI'}
          self.metadatatype = MetaDataType.IMDI
          if LXE:
              self.metadata = ElementTree.tostring(node, xml_declaration=False, pretty_print=True, encoding='utf-8')
          else:
              self.metadata = ElementTree.tostring(node, encoding='utf-8')
          n = node.xpath('imdi:Session/imdi:Title', namespaces=ns)
          if n and n[0].text: self._title = n[0].text
          n = node.xpath('imdi:Session/imdi:Date', namespaces=ns)
          if n and n[0].text: self._date = n[0].text
          n = node.xpath('//imdi:Source/imdi:Access/imdi:Publisher', namespaces=ns)
          if n and n[0].text: self._publisher = n[0].text
          n = node.xpath('//imdi:Source/imdi:Access/imdi:Availability', namespaces=ns)
          if n and n[0].text: self._license = n[0].text
          n = node.xpath('//imdi:Languages/imdi:Language/imdi:ID', namespaces=ns)
          if n and n[0].text: self._language = n[0].text
docs: OBSOLETE