I am creating an SVG document that contains various image tags. The xlink: href (source URL) attributes for images contain query strings with ampersands. If I run them off as% 26 or encoding ascii & # 63; they are not valid query strings, and the server will not provide an image. I cannot avoid them with CDATA because they are attributes (not nodes). I tried to create an xlink: href node inside an image tag, but ignored the SVG parser. I want to use pure SVG (not SVG in HTML), so that I can later convert to JPG, so the scripts do not work ...
Any tips on how I can do below work?
<image x="0" y="0" width="306" height="306" xlink:href="http://host.com/image.jpg?token=asdf&expiration=9384029&etc=etc"/>
Thanks!
source share