CRM Device Repository and XML processing