+
+ recursive = []
+ if upper_recursive:
+ recursive.extend(upper_recursive)
+ if raw_attrs.get('recursive', False) == '1':
+ recursive.append(element)
+
+ element_children, element_list = child_elements(element_level if not is_global else 0, element_list, recursive)
+ element_children += tuple(recursive)
+ element.children = element_children
+