It's as Jazzc says, there's no reason to split XML up into seperate lines, as it's not a line-by-line format, however if you still want to do this you can write a simple application to do so, take a look at the BufferedReader and BufferedWriter classes in Java. You can write an application with minimal programming knowledge to do this in around ten minutes.