SubstituteAttribute substAttr = (SubstituteAttribute) e;
Iterator i = substAttr.getSubstitutions().iterator();
while (i.hasNext()) {
Subst subst = (Subst) i.next();
if (subst instanceof Literal) {
Literal lit = (Literal) subst;
buf.append(lit.getValue());
} else if (subst instanceof JXTExpression) {
JXTExpression expr = (JXTExpression) subst;
Object val;
try {
val = expr.getValue(expressionContext);