modifying link elements to use xlink attributes