diff -r 1a1caf71b1cc -r 211d6a185e31 svghmi/hmi_tree.ysl2 --- a/svghmi/hmi_tree.ysl2 Thu Apr 02 09:38:53 2020 +0200 +++ b/svghmi/hmi_tree.ysl2 Thu Apr 02 14:03:38 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)» + } } } }