Closed GoogleCodeExporter closed 9 years ago
In this case you should use the built-in function JSObject to be able to use
the variable :
x = JSObject(doc.createElementNS("http://www.w3.org/1999/svg", "image"))
x.setAttributeNS('http://www.w3.org/1999/xlink',"xlink:href", "value")
x.setAttribute("x", "55")
print(x.getAttribute("x"))
Original comment by pierre.q...@gmail.com
on 23 Feb 2013 at 6:56
Original issue reported on code.google.com by
pedro.ro...@gmail.com
on 10 Jan 2013 at 10:06