diff -r 545902730141 -r 59a855c17aa6 svghmi/gen_index_xhtml.ysl2 --- a/svghmi/gen_index_xhtml.ysl2 Thu Mar 12 09:33:20 2020 +0100 +++ b/svghmi/gen_index_xhtml.ysl2 Thu Mar 12 13:14:38 2020 +0100 @@ -65,7 +65,6 @@ const "_categories" { noindex > HMI_ROOT - noindex > HMI_NODE noindex > HMI_PLC_STATUS noindex > HMI_CURRENT_PAGE } @@ -282,7 +281,10 @@ attrib "hmipath" > «$path» foreach "@*" xsl:copy; } - /* no node expected below value nodes */ + apply "*[1]", mode="index"{ + with "index", "$index + 1"; + with "parentpath" > «$path» + } } otherwise { apply "*[1]", mode="index"{