<set name="localvar" scope="local">This is a container set with '$[%name1]'</set>
This is from an include tag.
localname='$[%name1]'
<set name="include" value="yes" />
<set name="testinclude" value="x#[localvar]x" scope="local" />
test='#[testinclude]'
<dump file="./dump.txt" />