protected function setOutputContext(DOMDocument $ir)
	{
		foreach ($this->query('//output') as $output)
		{
			$output->setAttribute('escape', $this->getOutputContext($output));
		}
	}
protected function setOutputContext(DOMDocument $ir)
	{
		foreach ($this->query('//output') as $output)
		{
			$output->setAttribute('escape', $this->getOutputContext($output));
		}
	}
protected function setOutputContext ( DOMDocument $ ir ) { foreach ( $ this -> query ( '//output' ) as $ output ) { $ output -> setAttribute ( 'escape' , $ this -> getOutputContext ( $ output ) ) ; } }
Fill in output context

@param  DOMDocument $ir
@return void
Fill in output context