equal
deleted
inserted
replaced
172 // instead widget is refered through a svg:use. |
172 // instead widget is refered through a svg:use. |
173 svgtmpl "svg:*", mode="unlink_clone" { |
173 svgtmpl "svg:*", mode="unlink_clone" { |
174 param "seed"; |
174 param "seed"; |
175 choose { |
175 choose { |
176 // node recursive copy ends when finding a widget |
176 // node recursive copy ends when finding a widget |
177 when "@id = $hmi_elements/@id" { |
177 when "@id = $hmi_widgets/@id" { |
178 // place a clone instead of copying |
178 // place a clone instead of copying |
179 use{ |
179 use{ |
180 attrib "xlink:href" > «concat('#',@id)» |
180 attrib "xlink:href" > «concat('#',@id)» |
181 } |
181 } |
182 } |
182 } |