I want to call a function to get a variable in a SVG figure. How can i get GetCookie(user) (Returns username stored in a cookie)
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 602 580" style="enable-background:new 0 0 602 580;" xml:space="preserve">
<text x="5" y="5" alignment-baseline="middle" text-anchor="middle" font-family="Verdana" font-size="30">GetCookie(user)</text>
</svg>