Show Table of Contents
5.4. Inlining in Smooks
Inlining, as its name implies, allows you to "inline" the templating result to a
Smooks.filterSource result. A number of directives are supported:
- addto: this adds the templating result to the targeted element.
- replace (default): this uses the templating result to replace the targeted element. This is the default behavior for the <ftl:freemarker> configuration when the <use> element is not configured.
- insertbefore: this adds the templating result before the targeted element.
- insertafter: this adds the templating result after the targeted element.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.