Adding URL to XML and prettified XML