# How I can iterate on ClassDiagram types

**URL:** <https://forums.visual-paradigm.com/t/how-i-can-iterate-on-classdiagram-types/10653>\
**Category:** General Questions/Discussions\
**Created:** [January 21, 2009, 5:47pm UTC](https://forums.visual-paradigm.com/t/how-i-can-iterate-on-classdiagram-types/10653 "2009-01-21T17:47:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anonymous](https://avatars.discourse-cdn.com/v2/letter/a/8491ac/32.png) [@Anonymous](https://forums.visual-paradigm.com/u/Anonymous)\
**Post date:** [January 22, 2009, 8:11am UTC](https://forums.visual-paradigm.com/t/how-i-can-iterate-on-classdiagram-types/10653/1 "2009-01-22T08:11:57Z")

</div>

Hi,  
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

---

<div class="post-metadata">

**Author:** ![LilianWong](https://avatars.discourse-cdn.com/v2/letter/l/919ad9/32.png) [@LilianWong](https://forums.visual-paradigm.com/u/LilianWong)\
**Post date:** [January 22, 2009, 2:54pm UTC](https://forums.visual-paradigm.com/t/how-i-can-iterate-on-classdiagram-types/10653/2 "2009-01-22T14:54:19Z")

</div>

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
