svghmi/gen_index_xhtml.ysl2
branchsvghmi
changeset 2796 c7a22ce8c156
parent 2795 c0cf62bb9aa7
child 2797 c5ba1e77f054
equal deleted inserted replaced
2795:c0cf62bb9aa7 2796:c7a22ce8c156
   216             |         widgets: [
   216             |         widgets: [
   217             const "page", "."; 
   217             const "page", "."; 
   218             const "p", "$hmi_geometry[@Id = $page/@id]"; 
   218             const "p", "$hmi_geometry[@Id = $page/@id]"; 
   219             foreach """$hmi_geometry[@Id != $page/@id and 
   219             foreach """$hmi_geometry[@Id != $page/@id and 
   220                        @x >= $p/@x and @y >= $p/@y and 
   220                        @x >= $p/@x and @y >= $p/@y and 
   221                        @w <= $p/@w and @h <= $p/@h]""" {
   221                        @x+@w <= $p/@x+$p/@w and @y+@h <= $p/@y+$p/@h]""" {
   222                 |             "«@Id»"`if "position()!=last()" > ,`
   222                 |             "«@Id»"`if "position()!=last()" > ,`
   223             }
   223             }
   224             |         ]
   224             |         ]
   225         }
   225         }
   226         | }
   226         | }