equal
deleted
inserted
replaced
110 const "discardable_elements", "//svg:*[not(@id = $required_elements/@id)]"; |
110 const "discardable_elements", "//svg:*[not(@id = $required_elements/@id)]"; |
111 |
111 |
112 def "func:sumarized_elements" { |
112 def "func:sumarized_elements" { |
113 param "elements"; |
113 param "elements"; |
114 const "short_list", "$elements[not(ancestor::*/@id = $elements/@id)]"; |
114 const "short_list", "$elements[not(ancestor::*/@id = $elements/@id)]"; |
115 const "filled_groups", """$short_list/parent::*[ |
115 const "filled_groups", """$short_list/parent::svg:g[ |
116 not(child::*[ |
116 not(child::*[ |
117 not(@id = $discardable_elements/@id) and |
117 not(@id = $discardable_elements/@id) and |
118 not(@id = $short_list/@id) |
118 not(@id = $short_list/@id) |
119 ])]"""; |
119 ])]"""; |
120 const "groups_to_add", "$filled_groups[not(ancestor::*/@id = $filled_groups/@id)]"; |
120 const "groups_to_add", "$filled_groups[not(ancestor::*/@id = $filled_groups/@id)]"; |