svghmi/gen_dnd_widget_svg.ysl2
branchsvghmi
changeset 3234 f2bfb047d0e6
parent 3229 c5be4fd425e7
child 3261 06ea7a1152af
--- a/svghmi/gen_dnd_widget_svg.ysl2	Sun May 02 23:15:23 2021 +0200
+++ b/svghmi/gen_dnd_widget_svg.ysl2	Sun May 02 23:43:57 2021 +0200
@@ -11,7 +11,6 @@
             xmlns:xlink="http://www.w3.org/1999/xlink"
             xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
             xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
-            xmlns:xhtml="http://www.w3.org/1999/xhtml"
 
             /* Namespace to invoke python code */
             xmlns:ns="beremiz"
@@ -20,7 +19,6 @@
             exclude-result-prefixes="ns func exsl regexp str dyn" {
 
     param "hmi_path";
-    const "svg", "/svg:svg";
     const "hmi_elements", "//svg:*[starts-with(@inkscape:label, 'HMI:')]";
     const "subhmitree", "ns:GetSubHMITree()";
 
@@ -84,7 +82,7 @@
             msg value "$svg_widget_type";
         }
 
-        value "ns:GiveDetails($testmsg)";
+        value "ns:PassMessage($testmsg)";
 
         apply "/", mode="inline_svg";
     }