svghmi/inline_svg.ysl2
branchsvghmi
changeset 2967 fc5fbf087b93
parent 2941 ef13a4007538
child 2968 556ef07a7e31
--- a/svghmi/inline_svg.ysl2	Thu May 14 09:24:09 2020 +0200
+++ b/svghmi/inline_svg.ysl2	Thu May 14 17:48:15 2020 +0200
@@ -47,7 +47,7 @@
 // For now, clone unlinkink applies to descendants of all widget except HMI:Page
 // TODO: narrow application of clone unlinking to active elements,
 //       while keeping static decoration cloned
-const "to_unlink", "$hmi_elements[not(@id = $hmi_pages)]//svg:use";
+const "to_unlink", "$hmi_elements[not(@id = $hmi_pages)]/descendant-or-self::svg:use";
 svgtmpl "svg:use", mode="inline_svg"
 {
     choose {