<%def name="foobar(a, b)"> This is foobar(${a}, ${b}) ${" results " + foobar(5, 10) + " after "} ${" results " + capture(foobar, 5, 10) + " after "}