I have a problem with savin a xml file. I am using SimpleXMLElement class and the method saveXML. Simply when I call:
SimpleXMLElement
saveXML
$xml = new SimpleX