branch | svghmi |
changeset 2914 | 99ba78619ffa |
parent 2911 | 211d6a185e31 |
child 2939 | 4296ab974d4d |
--- 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)» + } } } }