branch | svghmi |
changeset 3233 | 315f17e74ef5 |
parent 3232 | 7bdb766c2a4d |
child 3408 | 13c5cac55ac7 |
--- a/svghmi/widgets_common.ysl2 Sun May 02 23:01:08 2021 +0200 +++ b/svghmi/widgets_common.ysl2 Sun May 02 23:15:23 2021 +0200 @@ -21,6 +21,11 @@ } }; +in xsl decl widget_desc(%name, match="widget[@type='%name']", mode="widget_desc") alias template { + type > «@type» + content; +}; + in xsl decl widget_class(%name, *clsname="%nameWidget", match="widget[@type='%name']", mode="widget_class") alias template { | class `text **clsname` extends Widget{ content;