svghmi/detachable_pages.ysl2
branchsvghmi
changeset 3199 1582753e409b
parent 3186 1e9b9d7451cd
child 3232 7bdb766c2a4d
equal deleted inserted replaced
3198:d9c8f8789fc8 3199:1582753e409b
    91 const "hmi_lists_descs", "$parsed_widgets/widget[@type = 'List']";
    91 const "hmi_lists_descs", "$parsed_widgets/widget[@type = 'List']";
    92 const "hmi_lists", "$hmi_elements[@id = $hmi_lists_descs/@id]";
    92 const "hmi_lists", "$hmi_elements[@id = $hmi_lists_descs/@id]";
    93 
    93 
    94 const "required_list_elements", "func:refered_elements($hmi_lists[@id = $required_page_elements/@id])";
    94 const "required_list_elements", "func:refered_elements($hmi_lists[@id = $required_page_elements/@id])";
    95 
    95 
    96 const "required_elements",
    96 const "required_elements", "$defs | $required_list_elements | $required_page_elements";
    97     """//svg:defs/descendant-or-self::svg:*
       
    98        | $required_list_elements
       
    99        | $required_page_elements""";
       
   100 
    97 
   101 const "discardable_elements", "//svg:*[not(@id = $required_elements/@id)]";
    98 const "discardable_elements", "//svg:*[not(@id = $required_elements/@id)]";
   102 
    99 
   103 def "func:sumarized_elements" {
   100 def "func:sumarized_elements" {
   104     param "elements";
   101     param "elements";