diff -r 0519fdce9a59 -r 99ba78619ffa svghmi/hmi_tree.ysl2 --- a/svghmi/hmi_tree.ysl2 Wed Apr 01 18:10:45 2020 +0200 +++ b/svghmi/hmi_tree.ysl2 Fri Apr 03 08:13:47 2020 +0200 @@ -93,8 +93,10 @@ attrib "value" > «.» const "path", "."; const "item", "$indexed_hmitree/*[@hmipath = $path]"; - if "count($item) = 1" + if "count($item) = 1" { attrib "index" > «$item/@index» + attrib "type" > «local-name($item)» + } } } }