src/Domi/Domi.php
public function render($stylesheets=false, $mode=self::RENDER_HTML) 
    {
        $this->xslt->importStylesheet($this->generateXsl($stylesheets));
        return $this->generateOutput($mode);
    }
public function render($stylesheets=false, $mode=self::RENDER_HTML) 
    {
        $this->xslt->importStylesheet($this->generateXsl($stylesheets));
        return $this->generateOutput($mode);
    }
public function render ( $ stylesheets = false , $ mode = self :: RENDER_HTML ) { $ this -> xslt -> importStylesheet ( $ this -> generateXsl ( $ stylesheets ) ) ; return $ this -> generateOutput ( $ mode ) ; }
process and return the output that will be sent to screen during
the display process

@param mixed a string or array listing the XSL stylesheets to be used
for the rendering process
@param int a flag indicating the rendering type. acceptable values
are DOMi::RENDER_HTML and DOMi::RENDER_XML

@retval string the result of the processing based on the stylesheets
and the rendering mode
process and return the output that will be sent to screen during the display process