Closed phlsa closed 9 years ago
Perhaps a missing namespace or something. Couldn't figure it out right away, but this doesn't work:
createNode('use', {'xlink:href':'#other-thing', x:200, fill:'blue'});
Turns out attributes can have their own namespace, so you have to use setAttributeNS() with the xlink namespace for the href attribute.
setAttributeNS()
Perhaps a missing namespace or something. Couldn't figure it out right away, but this doesn't work: