Why do I have to add namespace=local. Having the namespace change on different is very confusing and difficult to remember.
the namesapce="local" is needed or flatKey since one is in request and the other is local.
<foreach name=r property="${queryResult}.rows">
<set name=flatKey value="" namespace="local"/>
<foreach name=a list="${attributes}">
<set name=k value="${prefix}.\${a}.\${r}" />
<set name=v value="\${\${k}}" />
<get name=v><br>
<append name=flatKey value="\${\${k}}" delim="."/>
<get name=flatKey><br>
</foreach>
</foreach>