Call the script from the template

We need to update the doc template contents to call the newly created typeName script:

...
Attributes
NameType
[#foreach attr in class.attribute] ${attr.name} ${attr.typeName}[/#foreach]
[/#foreach]

Save the doc template, relaunch the generation and open the file result.xml:

...
Class Order
Description
An order of a product by a customer

Attributes
NameType
dateString
itemsCollection of LineItem
productCustomer

Related reference
script call