...
- if xml.tagName is set, this is our tagName, no question there.
- else
- if the we are not in an association : tagName is the name of the class/field (starting with lower case)
- if we are in an association :
- if xml.associationTagName is set, this is our tagName
- else tagName is the name of the association in singular if xml.listStyle is set to WRAPPED, as given is xml.listStyle is set to FLAT.
