Dec. 2, 2016
9:26 a.m.
Hello, While iterating within a Mustache section is it possible to refer to a tag defined out of the list. For example, is it possible to do so: templateString := 'A list of numbers {{#list}} Number {{label}} : {{number}} <= #label in section {{/list}}'. context := { 'label' -> 'fine. 'list' -> { { 'number' -> 1 } asDictionary. { 'number' -> 2 } asDictionary. } } asDictionary to get output as: 'A list of numbers Number fine: 1 Number fine: 2 ' So far in my attempt the #label tag is not processed. Am I interpreting something wrongly? Thanks Hilaire -- Dr. Geo http://drgeo.eu