svghmi/inline_svg.ysl2
branchwxPython4
changeset 3692 a9b787d84846
parent 3690 f41733be17a8
--- a/svghmi/inline_svg.ysl2	Wed Nov 23 14:18:25 2022 +0100
+++ b/svghmi/inline_svg.ysl2	Thu Nov 24 16:12:03 2022 +0100
@@ -209,6 +209,7 @@
 const "result_svg_ns", "exsl:node-set($result_svg)";
 
 emit "preamble:inline-svg" {
+    | const xmlns = "http://www.w3.org/2000/svg";
     | let id = document.getElementById.bind(document);
     | var svg_root = id("«$svg/@id»");
 }