Contents > 7 SDMetrics Metamodel and XMI Transformation Files > 7.2 XMI Transformation Files > 7.2.2 XMI Transformations and Triggers > Trigger Type "ctext" Trigger Type "ctext"

This trigger retrieves the value from the text enclosed by a child element in the XMI tree.
In our example, the name of the operation is stored as text enclosed in the element. With the trigger
<trigger name="name" type="ctext" src="" />
we retrieve the value for attribute "name" from the text enclosed within the tags. The child element is specified via the "src" attribute of the trigger.