initial XML ui parsing