read DeviceType from XML