Cleanup xml generator

After I discovered the a change I made in the past (I replaced "\n" with PHP_EOL) broke the unit tests and the xml output on my windows system, I remembered a comment on a other issue and removed the textnodes to create the linebreakes in the xml output.