In this chapter, we will cover:
A template is a document that can be applied on a data object to produce another document. Thus templates are used to present data or content in different styles and formats.
A typical template engine works in the following way:
The template engine accepts both data and the template, and a new document is generated and returned as per the template provided.
For example, an XML document can be used as data, and an XSLT document works as the template—this ...