svghmi/gen_dnd_widget_svg.ysl2
branchsvghmi
changeset 3225 cfa5690c8c15
parent 3223 061796d9855e
child 3229 c5be4fd425e7
equal deleted inserted replaced
3224:507dd7bc8cb5 3225:cfa5690c8c15
    36     const "svg_widget_count", "count($parsed_widgets/widget)";
    36     const "svg_widget_count", "count($parsed_widgets/widget)";
    37 
    37 
    38     svgtmpl "@*", mode="inline_svg" xsl:copy;
    38     svgtmpl "@*", mode="inline_svg" xsl:copy;
    39 
    39 
    40     svgtmpl "@inkscape:label[starts-with(., 'HMI:')]", mode="inline_svg" {
    40     svgtmpl "@inkscape:label[starts-with(., 'HMI:')]", mode="inline_svg" {
    41         xsl:copy;
    41         attrib "inkscape:label" > «substring-before(., '@')»@«$hmi_path»
    42     }
    42     }
    43 
    43 
    44     template "node()", mode="inline_svg" {
    44     template "node()", mode="inline_svg" {
    45       xsl:copy apply "@* | node()", mode="inline_svg";
    45       xsl:copy apply "@* | node()", mode="inline_svg";
    46     }
    46     }