Introduction to MarkupTemplateEngine
masterThe MarkupTemplateEngine is a template engine designed primarily for generating XML-like markup (XML, XHTML, HTML5, etc.), though it can be used for any text-based content. Unlike traditional engines, it uses a Groovy DSL based on builder syntax.
Key features include:
- Markup builder-like syntax
- Bytecode compilation for fast rendering
- Optional type checking of the model
- Support for includes, internationalization (i18n), and fragments/layouts.