non funziona neanche così.
Credo che il problema stia nel fatto che quando viene generato l'xml il carattere '<' viene sostituito da lt e così via.