${ELEMENT, "Desc of Use Case", "UseCase", One, PROPERTY=description}
${ELEMENT, "List of Class Members", "Class", One, Children}
In the first example, the description of selected use case will be output. Note that "Desc of Use Case" is the field name, which is a required and unique value for identifying this field.
In the second example, content will be output for the selected class, based on the template Children.
When you pick-up a Doc Base with such a ${DIAGRAM} field in it, you can select the model element to query in Doc. Composer.
Querying Model Elements from Specific Model Element
If you need to write a document for a specific model element by detailing its children elements, like a business responsibility report that details the tasks contained by specific pool, or a use case report that details the use cases contained by a system, you will want to query the children elements of a selected model element.
If you want to output any detail of model elements from a specific model element, write an ${ELEMENT} field in your Word document with LoopInElement specified as element source. Here are several examples of such an ${ELEMENT} field: