<let> element

Appears in: <script>

Used to define (or redefine) a symbol. The symbol's value is taken from the body of element (with leading and trailing whitespace removed).

Figure D.11. <let> Attributes

NameTypeRequired ?Default ValueDescription
keystringyes The key of the symbol to define.
uniquebooleanyes|nonoIf yes, then the string is ensured to be unique (by possibly adding a suffix) before being assigned to the symbol.

Figure D.12. <let> Elements


  (text | <foreach> | <if> | <if-not> | <unique>) *