trying to get link attr to load from xml properly