Using Template Engine Template Engine is a service that allows you to create textual output based on templates, and this output can be assigned to script variables, written to file, or delivered via StreamServe output connectors. Template Engine is especially useful when you need fine-grained control over the output format, for example to create handcrafted HTML output that contains Java script, external CSS references or interactive forms. Template Engine is also a more powerful alternative to text manipulation using script functions such as outputstring(), eval(), etc. Template Engine can be accessed in different ways: • As a Process • Via script functions • Via a filter No driver for the output Output from Template Engine is always plain text, i.e. html, xml and other text formats. This means you should not use a driver on the output connector for Template Engine output. You can however use an HTML unpaginated driver, for example for Ad Hoc and Composition Center preview connectors. Note though that the driver settings (HTML Title, HTML Version etc.) are ignored. In this section • Creating templates • Template Engine Process • Template Engine script functions • Template Engine filter • Exposing Template Engine to Composition Center