adding xml link attributes now does not depend on the serializer, the attributes are added by the handler