complete xml handling. And test. Problem: list of measurements is still unformated. Don't know why...