--- a/svghmi/gen_index_xhtml.ysl2 Tue Mar 17 14:01:37 2020 +0100
+++ b/svghmi/gen_index_xhtml.ysl2 Tue Mar 17 14:11:54 2020 +0100
@@ -81,20 +81,6 @@
}
}
- /*
- Parses:
- "HMI:WidgetType:param1:param2@path1@path2"
-
- Into:
- widget type="WidgetType" {
- arg value="param1";
- arg value="param2";
- path value="path1";
- path value="path2";
- }
- */
-
-
function "scripts"
{
| //(function(){
--- a/svghmi/hmi_tree.ysl2 Tue Mar 17 14:01:37 2020 +0100
+++ b/svghmi/hmi_tree.ysl2 Tue Mar 17 14:11:54 2020 +0100
@@ -52,6 +52,17 @@
}
}
+// Parses:
+// "HMI:WidgetType:param1:param2@path1@path2"
+//
+// Into:
+// widget type="WidgetType" {
+// arg value="param1";
+// arg value="param2";
+// path value="path1";
+// path value="path2";
+// }
+//
def "func:parselabel" {
param "label";
const "description", "substring-after($label,'HMI:')";