Replace text source files with XML