Listing elements

By using the tag <list> you can also easily list the model elements.

Templatecontent

Output

<gendoc>¶
<list>¶
[for (p:NamedElement | self.ownedElement->filter(NamedElement))] ¶

    • [p.name.clean()/]

[/for] ¶
</list>¶
</gendoc>¶

    • Model2
    • secondly
    • Package2