Adding in the offset option to add a fixed number of indents to every line when printing out the XML