formatted xml using DOMDocument formatter