svghmi/parse_labels.ysl2
changeset 3412 04c4835ca376
parent 3408 13c5cac55ac7
child 3455 2716cd8e498d
--- a/svghmi/parse_labels.ysl2	Tue Jan 18 11:35:05 2022 +0100
+++ b/svghmi/parse_labels.ysl2	Wed Jan 19 08:51:45 2022 +0100
@@ -34,7 +34,7 @@
         otherwise value "$args";
     }
 
-    const "freq", "substring-after($typefreq,':')";
+    const "freq", "substring-after($typefreq,'|')";
 
     const "_type", "substring-before($typefreq,'|')";
     const "type" choose {
@@ -44,7 +44,7 @@
     if "$type" widget {
         attrib "id" > «$id»
         attrib "type" > «$type»
-        if "freq" attrib "frequency" > «$freq»
+        if "$freq" attrib "freq" > «$freq»
         foreach "str:split(substring-after($args, ':'), ':')" {
             arg {
                 attrib "value" > «.»