protected function outputXml(OutputInterface $output, $data)
	{
		$doc               = new \DOMDocument();
		$doc->formatOutput = true;
		$doc->appendChild($this->generateXml($doc, $data));
		$xml = $doc->saveXML();
		$output->write($xml);
	}
protected function outputXml(OutputInterface $output, $data)
	{
		$doc               = new \DOMDocument();
		$doc->formatOutput = true;
		$doc->appendChild($this->generateXml($doc, $data));
		$xml = $doc->saveXML();
		$output->write($xml);
	}
protected function outputXml ( OutputInterface $ output , $ data ) { $ doc = new \ DOMDocument ( ) ; $ doc -> formatOutput = true ; $ doc -> appendChild ( $ this -> generateXml ( $ doc , $ data ) ) ; $ xml = $ doc -> saveXML ( ) ; $ output -> write ( $ xml ) ; }
Generate and output the data as XML.

@param OutputInterface $output
@param mixed           $data
Generate and output the data as XML .