branch | svghmi |
changeset 3225 | cfa5690c8c15 |
parent 3223 | 061796d9855e |
child 3229 | c5be4fd425e7 |
--- a/svghmi/gen_dnd_widget_svg.ysl2 Tue Apr 06 14:04:08 2021 +0200 +++ b/svghmi/gen_dnd_widget_svg.ysl2 Tue Apr 06 16:05:58 2021 +0200 @@ -38,7 +38,7 @@ svgtmpl "@*", mode="inline_svg" xsl:copy; svgtmpl "@inkscape:label[starts-with(., 'HMI:')]", mode="inline_svg" { - xsl:copy; + attrib "inkscape:label" > «substring-before(., '@')»@«$hmi_path» } template "node()", mode="inline_svg" {