How I can iterate on ClassDiagram types

I want to customize the ClassDiagram template adding a new xml.
I realized that xml file, ad it works fine but I need to iterate on a particulare element type.

For example I want to create n table one for each type (i.e. Class,Note ecc)

Could you please help me?
Thanks a lot for your help

Hi user,

Thanks for replying. When you select a diagram in Report Writer and drag the template “Children”, it will generate Name and Type of all model elements on the diagram to the report.

Is it what you are looking for?

Best regards,
Lilian Wong