src/Gelembjuk/Logger/ErrorScreen.php
protected function showXML($exception) {
		$endline = "\r\n";
		$xml = '<?xml version="1.0" encoding="UTF-8"?>'.$endline.
				'<response>'.$endline.
					'<status>error</status>'.$endline.
					'<message>'.htmlspecialchars($this->getMessageForUser($exception)).'</message>'.$endline.
				'</response>';

		header('Content-Type: application/xml; charset=utf-8');
		echo $xml;
	}
protected function showXML($exception) {
		$endline = "\r\n";
		$xml = '<?xml version="1.0" encoding="UTF-8"?>'.$endline.
				'<response>'.$endline.
					'<status>error</status>'.$endline.
					'<message>'.htmlspecialchars($this->getMessageForUser($exception)).'</message>'.$endline.
				'</response>';

		header('Content-Type: application/xml; charset=utf-8');
		echo $xml;
	}
protected function showXML ( $ exception ) { $ endline = "\r\n" ; $ xml = '<?xml version="1.0" encoding="UTF-8"?>' . $ endline . '<response>' . $ endline . '<status>error</status>' . $ endline . '<message>' . htmlspecialchars ( $ this -> getMessageForUser ( $ exception ) ) . '</message>' . $ endline . '</response>' ; header ( 'Content-Type: application/xml; charset=utf-8' ) ; echo $ xml ; }
Display error in XML format

@param Exception $exception Exception to show message from
Display error in XML format