Location: PHPKode > projects > Open Power Template > tests/Opt/instruction/insert_4.txt
Check the default content and opt:parent

>>>>templates/test.tpl
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<opt:root>
<opt:snippet name="foo">Snippet<opt:parent/></opt:snippet>
<opt:insert snippet="foo">NOSNIPPET</opt:insert>
</opt:root>

>>>>expected.txt
OUTPUT

>>>>result.txt
Snippet
NOSNIPPET
Return current item: Open Power Template