svghmi/inline_svg.ysl2
branchsvghmi
changeset 3186 1e9b9d7451cd
parent 3108 079419e7228d
child 3384 bd337d21f686
equal deleted inserted replaced
3181:50d0fef791d5 3186:1e9b9d7451cd
    53 //    the same position in all instances
    53 //    the same position in all instances
    54 //
    54 //
    55 // For now, clone unlinkink applies to descendants of all widget except HMI:Page
    55 // For now, clone unlinkink applies to descendants of all widget except HMI:Page
    56 // TODO: narrow application of clone unlinking to active elements,
    56 // TODO: narrow application of clone unlinking to active elements,
    57 //       while keeping static decoration cloned
    57 //       while keeping static decoration cloned
    58 const "hmi_lists_descs", "$parsed_widgets/widget[@type = 'List']";
       
    59 const "hmi_lists", "$hmi_elements[@id = $hmi_lists_descs/@id]";
       
    60 const "targets_not_to_unlink", "$hmi_lists/descendant-or-self::svg:*";
    58 const "targets_not_to_unlink", "$hmi_lists/descendant-or-self::svg:*";
    61 const "to_unlink", "$hmi_elements[not(@id = $hmi_pages/@id)]/descendant-or-self::svg:use";
    59 const "to_unlink", "$hmi_elements[not(@id = $hmi_pages/@id)]/descendant-or-self::svg:use";
    62 
    60 
    63 def "func:is_unlinkable" {
    61 def "func:is_unlinkable" {
    64     param "targetid";
    62     param "targetid";