Location: PHPKode > projects > Open Power Template > tests/Opt/instruction/root_2.txt
"opt:root" should not be used in other context than parent's.

>>>>templates/test.tpl
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<div>
<opt:root>foo</opt:root>
</div>

>>>>data.php
$this->tpl->singleRootNode = true;

>>>>expected.txt
Opt_InstructionInvalidParent_Exception
Return current item: Open Power Template