Good afternoon. Needed to give the user the XML file.
Work in yii. For convenient made a few basic templates and fill them with information.
Generate decided using $this->render('export_xml', array('data'=>$data));
In this regard, there are questions. render default loads the main layout, I want to avoid.
Decided this question made an empty layout and $this->layout = '//layouts/blank'; But I think that is more logical and correct decision, only to find it can't yet.
And second, the most important question. Is it possible to force to give the template file?