Hi,
I am not very familiar with this problem. But when I try the codes to bind to the xlink:href, it seems like cannot bind to it. I suggest you can use
XmlElement.SetAttributeNS to set the xlink:href:
<svg id="pigSVG" height="100%" width="100%"
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g transform="scale(1)">
<image x="0" y="0" height="700px" width="900px" data-win-bind="color:myImageUrl" id="image" color="red" />
</g>
</svg>
var image = document.getElementById("image");
var url = "logo.scale-100.png";
var xlinkns = "http://www.w3.org/1999/xlink";
image.setAttributeNS(xlinkns, "xlink:href", url)
Best Wishes!
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. Thanks<br/> MSDN Community Support<br/> <br/> Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and
makes it easier for other visitors to find the resolution later.