svghmi/inline_svg.ysl2
changeset 3393 a65bcbb6af20
parent 3384 bd337d21f686
child 3625 bb1eff4091ab
equal deleted inserted replaced
3390:6532d7a1a3b5 3393:a65bcbb6af20
   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         }