MTL (Model-to-Text Language) is the OMG MOFM2T (MOF Model-to-Text Transformation) standard for generating code and text from models. Templates combine static text with dynamic expressions to produce output.
Every MTL template starts with a module declaration and contains at least one template definition. Think of templates as functions that generate text instead of returning values.