public function getXML(){
		$doc = new \DomDocument('1.0');
		$doc->preserveWhiteSpace = false;
		$doc->formatOutput = true;
		$doc->loadXML($this->dom->asXml());
		return $doc->saveXML();
	}
public function getXML(){
		$doc = new \DomDocument('1.0');
		$doc->preserveWhiteSpace = false;
		$doc->formatOutput = true;
		$doc->loadXML($this->dom->asXml());
		return $doc->saveXML();
	}
public function getXML ( ) { $ doc = new \ DomDocument ( '1.0' ) ; $ doc -> preserveWhiteSpace = false ; $ doc -> formatOutput = true ; $ doc -> loadXML ( $ this -> dom -> asXml ( ) ) ; return $ doc -> saveXML ( ) ; }
Get XML string in pretty format

@return string
Get XML string in pretty format