code: def get_scanner_params_xml(self):
          
          scanner_params = Element('scanner_params')
          for param_id, param in self.scanner_params.items():
              param_xml = SubElement(scanner_params, 'scanner_param')
              for name, value in [('id', param_id),
                                  ('type', param['type'])]:
                  param_xml.set(name, value)
              for name, value in [('name', param['name']),
                                  ('description', param['description']),
                                  ('default', param['default']),
                                  ('mandatory', param['mandatory'])]:
                  elem = SubElement(param_xml, name)
                  elem.text = str(value)
          return scanner_params
docs: Returns the OSP Daemon's scanner params in xml format.