equal
deleted
inserted
replaced
11 xmlns:svg="http://www.w3.org/2000/svg" |
11 xmlns:svg="http://www.w3.org/2000/svg" |
12 xmlns:xlink="http://www.w3.org/1999/xlink" |
12 xmlns:xlink="http://www.w3.org/1999/xlink" |
13 xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" |
13 xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" |
14 xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" |
14 xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" |
15 xmlns:xhtml="http://www.w3.org/1999/xhtml" |
15 xmlns:xhtml="http://www.w3.org/1999/xhtml" |
16 xmlns:reflect="reflect" |
16 xmlns:debug="debug" |
17 |
17 |
18 /* Our namespace to invoke python code */ |
18 /* Our namespace to invoke python code */ |
19 xmlns:ns="beremiz" |
19 xmlns:ns="beremiz" |
20 extension-element-prefixes="ns func exsl regexp str dyn" |
20 extension-element-prefixes="ns func exsl regexp str dyn" |
21 exclude-result-prefixes="ns str regexp exsl func dyn reflect" { |
21 exclude-result-prefixes="ns str regexp exsl func dyn debug" { |
22 |
22 |
23 |
23 |
24 const "hmi_elements", "//svg:*[starts-with(@inkscape:label, 'HMI:')]"; |
24 const "hmi_elements", "//svg:*[starts-with(@inkscape:label, 'HMI:')]"; |
25 |
25 |
26 include hmi_tree.ysl2 |
26 include hmi_tree.ysl2 |
35 |
35 |
36 include widget_*.ysl2 |
36 include widget_*.ysl2 |
37 |
37 |
38 include scripts.ysl2 |
38 include scripts.ysl2 |
39 |
39 |
40 template "*[namespace-uri()='reflect']", mode="debug_as_comment" { |
40 template "*[namespace-uri()='debug']", mode="debug_as_comment" { |
41 comment { |
41 comment { |
42 | «local-name()» : |
42 | «local-name()» : |
43 apply ".", mode="debug"; |
43 apply ".", mode="debug"; |
44 } |
44 } |
45 } |
45 } |
46 |
46 |
47 template "/" { |
47 template "/" { |
48 comment > Made with SVGHMI. https://beremiz.org |
48 comment > Made with SVGHMI. https://beremiz.org |
49 |
49 |
50 // all debug output from included definitions, as comments |
50 // all debug output from included definitions, as comments |
51 // apply "document('')/*/reflect:*", mode="debug_as_comment"; |
51 // apply "document('')/*/debug:*", mode="debug_as_comment"; |
52 |
52 |
53 html xmlns="http://www.w3.org/1999/xhtml" |
53 html xmlns="http://www.w3.org/1999/xhtml" |
54 xmlns:svg="http://www.w3.org/2000/svg" |
54 xmlns:svg="http://www.w3.org/2000/svg" |
55 xmlns:xlink="http://www.w3.org/1999/xlink" { |
55 xmlns:xlink="http://www.w3.org/1999/xlink" { |
56 head; |
56 head; |