create element ns svg
snippet in javascript

create element ns svg

user10000

document.createElementNS("http://www.w3.org/2000/svg","yourelement")