1 <?xml version=
"1.0" standalone=
"no"?>
2 <!DOCTYPE svg PUBLIC
"-//W3C//DTD SVG 1.1 Basic//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-basic.dtd">
3 <svg version=
"1.1" baseProfile=
"basic" id=
"svg-root" width=
"100%" height=
"100%" viewBox=
"0 0 480 360"
4 xmlns:
xlink=
"http://www.w3.org/1999/xlink"
5 xmlns=
"http://www.w3.org/2000/svg" onload=
"myfunc()">
8 var myRect = document.getElementById(
"rect");
9 myRect.setAttribute(
"d",
"M5 260 C40 260 60 175 55 160 c -5 15 15 100 50 100Z");
12 <path id=
"rect" d=
"M 100 100 L 300 100 L 200 300 z" fill=
"red" />
13 <rect id=
"test-frame" x=
"1" y=
"1" width=
"478" height=
"358" fill=
"none" stroke=
"#000000"/>