diff -r c7d5f46cc306 -r 525211a54b14 svghmi/gen_index_xhtml.ysl2 --- a/svghmi/gen_index_xhtml.ysl2 Wed Mar 04 16:46:03 2020 +0100 +++ b/svghmi/gen_index_xhtml.ysl2 Wed Mar 04 16:46:35 2020 +0100 @@ -554,10 +554,10 @@ } } } - | ], - | element: id("«@id»"), + | ], + | element: id("«@id»"), apply "$widget", mode="widget_defs" with "hmi_element","."; - | }`if "position()!=last()" > ,` + | }`if "position()!=last()" > ,` } | } | @@ -584,7 +584,7 @@ foreach "$hmi_pages" { const "desc", "func:parselabel(@inkscape:label)/widget"; const "page", "."; - const "p", "$geometry[@Id = $page/@id]"; + const "p", "$geometry[@Id = $page/@id]"; const "page_all_elements", "func:all_related_elements($page)"; @@ -654,8 +654,8 @@ template "*", mode="testtree"{ param "indent", "''"; - > «$indent» «local-name()» - foreach "@*" > «local-name()»=«.» + > «$indent» «local-name()» + foreach "@*" > «local-name()»=«.» > \n apply "*", mode="testtree" { with "indent" value "concat($indent,'>')"