commented out all inserted line breaks, added output formating by DomDocument