diff -r f45e413a0f40 -r d4dfd47f8156 svghmi/hmi_tree.ysl2 --- a/svghmi/hmi_tree.ysl2 Thu Feb 04 21:23:58 2021 +0100 +++ b/svghmi/hmi_tree.ysl2 Tue Feb 09 07:41:24 2021 +0100 @@ -120,10 +120,10 @@ } } choose { - when "regexp:test($path,'^\.[a-zA-Z0-9_]+')" { + when "regexp:test($path,'^\.[a-zA-Z0-9_]+$')" { attrib "type" > PAGE_LOCAL } - when "regexp:test($path,'^[a-zA-Z0-9_]+')" { + when "regexp:test($path,'^[a-zA-Z0-9_]+$')" { attrib "type" > HMI_LOCAL } otherwise {