Fixed xmlData and parse functions