<svg xmlns="http://www.w3.org/2000/svg"
  xmlns:xlink="http://www.w3.org/1999/xlink">
  <defs>
    <text id="a">Text A</text>
    <text id="b">Text B</text>
  </defs>
  <use xlink:href="#a" x="20" y="40">
    <set attributeName="xlink:href" to="#b" dur="2s"/>
  </use>
</svg>