--- a/svghmi/gen_index_xhtml.ysl2 Wed Nov 13 11:21:04 2019 +0100
+++ b/svghmi/gen_index_xhtml.ysl2 Wed Nov 13 11:22:53 2019 +0100
@@ -55,8 +55,7 @@
const "_categories" {
noindex > HMI_ROOT
- noindex > HMI_LABEL
- noindex > HMI_CLASS
+ noindex > HMI_NODE
noindex > HMI_PLC_STATUS
noindex > HMI_CURRENT_PAGE
}
@@ -122,7 +121,7 @@
/* copy root node and add geometry as comment for a test */
template "/" {
comment > Made with SVGHMI. https://beremiz.org
- /* DEBUG DATA
+ /* DEBUG DATA */
comment {
apply "$hmi_geometry", mode="testgeo";
}
@@ -132,7 +131,7 @@
comment {
apply "$indexed_hmitree", mode="testtree";
}
- */
+ /**/
html xmlns="http://www.w3.org/1999/xhtml" {
head;
body style="margin:0;overflow:hidden;" {
@@ -229,7 +228,7 @@
const "hmipath","@value";
const "hmitree_match","$indexed_hmitree/*[@hmipath = $hmipath]";
if "count($hmitree_match) = 0"
- error > No match for HMI «$hmipath»;
+ error > No match for path "«$hmipath»" in HMI tree
| «$hmitree_match/@index»`if "position()!=last()" > ,`
}
| ],
@@ -307,7 +306,7 @@
// }
- /*
+ /**/
template "bbox", mode="testgeo"{
| ID: «@Id» x: «@x» y: «@y» w: «@w» h: «@h»
}
@@ -321,7 +320,7 @@
with "indent" value "concat($indent,'>')"
};
}
- */
+ /**/
function "defs_by_labels" {
param "labels","''";