This XML info is useless totally. Also it produces **broken** XML file.

I suggest to use simple STDOUT macro ONLY:

```
#define DUMP_MESSAGE_STDOUT(msg) \
    do { \
        std::cout << msg << std::endl; \
    } while (false)
```

Usage:

```
DUMP_MESSAGE_STDOUT("        " << j << ": (" deviceTypeStr << ") " << devices.at(j)->deviceName << " (" << devices.at(j)->deviceVersion << ")");
```