Braces must be escaped, i.e. {{
and }}
otherwise the xslt-engine will try to eval/compile the expressin in the AVT.
Furthermore, the attribute value must be enclosed in double quotes "
..."
and the dict values in single quotes '
...'
like the following:
attributename="{{xyz:'abc'}}"
this will transform into
attributename="{xyz:'abc'}"
Remember: when you load the html-template without diazo (i.e. directly from your filesystem) you must not escape the braces. Otherwise your plugin eventually will not treat it as a json-string.