code: def premis_to_data(premis_lxml_el):
      
      premis_version = premis_lxml_el.get("version", utils.PREMIS_VERSION)
      nsmap = utils.PREMIS_VERSIONS_MAP[premis_version]["namespaces"]
      return _lxml_el_to_data(premis_lxml_el, "premis", nsmap)
docs: Transform a PREMIS ``lxml._Element`` instance to a Python tuple.