I'm trying to create an one lined XML String using PHP programming language.I'm using a DomDocument for that.i'm setting \[code\]preserveWhitespace\[/code\] to false and \[code\]formatOutput\[/code\] to false but when i execute\[code\]saveXML()\[/code\] theoutput still shows me new lines betweeen each XML output. any ideas?my code:\[code\] $domtree = new \DOMDocument(); $domtree->preserveWhiteSpace = false; $domtree->formatOutput = false; ...\[/code\]