When I copied from the code from the web page, it copied the line numbers as well; a small snippet of what I copied:
I copied all the text into Notepad++ then deleted the copied line numbers. Notepad++ still has it's own line numbers on the file. I then saved it as an .xml file.