equal
deleted
inserted
replaced
45 // the same position in all instances |
45 // the same position in all instances |
46 // |
46 // |
47 // For now, clone unlinkink applies to descendants of all widget except HMI:Page |
47 // For now, clone unlinkink applies to descendants of all widget except HMI:Page |
48 // TODO: narrow application of clone unlinking to active elements, |
48 // TODO: narrow application of clone unlinking to active elements, |
49 // while keeping static decoration cloned |
49 // while keeping static decoration cloned |
50 const "to_unlink", "$hmi_elements[not(@id = $hmi_pages)]//svg:use"; |
50 const "to_unlink", "$hmi_elements[not(@id = $hmi_pages)]/descendant-or-self::svg:use"; |
51 svgtmpl "svg:use", mode="inline_svg" |
51 svgtmpl "svg:use", mode="inline_svg" |
52 { |
52 { |
53 choose { |
53 choose { |
54 when "@id = $to_unlink/@id" |
54 when "@id = $to_unlink/@id" |
55 call "unlink_clone"; |
55 call "unlink_clone"; |