Chapter 14. Xpand Template Language

From model instances, it’s common to generate code, text files, reports, and so on. Query/View/Transformation Operational Mapping Language (QVT OML) provides our language for Model-to-Model Transformation (M2M), and we turn to Xpand to provide for Model-to-Text Transformation (M2T). Alternative choices exist within the M2T project, namely Java Emitter Templates (JET) and the new Model to Text Language (MTL) component.

JET is the default M2T technology that EMF itself uses, but other projects within Eclipse have found success and discovered advantages to using Xpand. JET borrows heavily from Java Server Pages (JSP), but Xpand has a significantly different syntax to offer those who might not be fond of JSP. ...

Get Eclipse Modeling Project: A Domain-Specific Language (DSL) Toolkit now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.