Syntax | Description | Example |
---|---|---|
<attribute> | Replaced with value of attribute |
|
<attribute.property> | Replaced with value of property of attribute (or empty string if missing). | |
<attribute.(expr)> | Indirect property lookup. Same as attribute.property except value of expr is the property name. |
|
<multi-valued-attribute> | Concatenation of |
|
<multi-valued-attribute; separator=expr> | Concatenation of |
|
<template(argument-list)> | Include (i.e. call) template. argument-list is a list of attribute assignments of the form arg-of-template=expr. expr is evaluated in the context of the surrounding template not of the invoked template. |
|
<attribute:template(argument-list)> | Template application. The optional argument-list is evaluated before application. The default attribute it is set to the value of attribute. If attribute is multi-valued, it is set to each element in turn and template is invoked |
|
<attribute:{argument-name_ | _anonymous-template}> | Apply an anonymous template to each element of attribute. Set the argument-name to the iterated value and also set |
|
<if(!attribute)>subtemplate<endif> | If attribute has no value or is a |
|
| escaped delimiter prevents |
|
| special characters: space, newline, tab, carriage return. |
|
| Comments, ignored by StringTemplate. |
|
Page Comparison
General
Content
Integrations