Fix the loss of attributes by separating the Attribute generation from
Element generation. This doubles the number of templates, but
overall the template size stays the same.
Also fix some mistake in generation of attribute name or element name
in the XMI-to-XML case.
6 files changed