XML connection do database