<!-- Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ --> <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <g transform="translate(150,50)" style="font: 32px sans-serif"> <path id="p" d="M 100,100 l 100,100"/> <text x="50">hello <textPath xlink:href="#p">there</textPath></text> </g> </svg>