This sample transforms a UML 1.3 model into a UML 2.1 model. The transformation is limited to a subset of the class diagram:
|
Here is an example of a UML transformation launch:

| Feature | Example | Location | Reference |
| Creating an instance | target.create("DataType") |
UMLConvert.mqr |
Model APIs |
| Using subrules | rule createPackageContents::createClass() |
UMLConvert.mqr |
rule |
| Filtering a list of instances based on a criterium | element13.taggedValue.detect("tag", "documentation") |
UMLConvert.mqr |
MDWList |
| Using transient links | element13#coref.add(element21) |
UMLConvert.mqr |
transient links |