You must have notepad++ installed, also the XML Tools plugin, and then from menu of XML Tools plugin have selected “Pretty print (XML only – with line breaks)” , this will format any piece of XML with all the proper line spacing. then it should be like this source here