add the additional attributes for XML