svghmi/analyse_widget.ysl2
branchsvghmi
changeset 3235 b2b6bf45aa2d
child 3241 fe945f1f48b7
equal deleted inserted replaced
3234:f2bfb047d0e6 3235:b2b6bf45aa2d
       
     1 include yslt_noindent.yml2
       
     2 
       
     3 istylesheet
       
     4             /* From Inkscape */
       
     5             xmlns:svg="http://www.w3.org/2000/svg"
       
     6             xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
       
     7 
       
     8             extension-element-prefixes="ns func exsl regexp str dyn"
       
     9             exclude-result-prefixes="ns func exsl regexp str dyn svg inkscape" {
       
    10 
       
    11     const "indexed_hmitree", "/.."; // compatibility with parse_labels.ysl2
       
    12     include parse_labels.ysl2
       
    13 
       
    14     const "hmi_elements", "//svg:*[starts-with(@inkscape:label, 'HMI:')]";
       
    15 
       
    16     template "/"  
       
    17         widgets
       
    18             apply "$hmi_elements", mode="parselabel";
       
    19 
       
    20 }