XML definitions parsing working