For simplicity, the entire XML file is on one line. It isn't edited by hand, so that worked out fine. Therefore, there aren't any \n characters in the XML file. I just printed it that way so that people could understand the XML a little better.
I should have stated that in my original post. Sorry.