parameters: (element, ensure_unique=False, ensure_named=None, matching=None, only_whitespace_text=False)
return_statement: return children
docstring: Return all element chidren.
  
      If `ensure_unique` is True, then a SystemParseError will be raised if the any of the child
      have the same tag name (see also: ensure_unique_tag_names).
  
      If `ensure_named` is not None, then a SystemParseError will be raised if the any of the child
      elements do not have the tagName `ensure_named` (see also: ensure_all_children_name).
  
      If `only_whitespace_text` is True then a SystemParseError will be raised if any of the child
      nodes are non-whitespace text.
docstring_summary: Return all element chidren.
docstring_tokens: Return all element chidren .
function: def element_children(element, ensure_unique=False, ensure_named=None, matching=None, only_whitespace_text=False):
      """Return all element chidren.
  
      If `ensure_unique` is True, then a SystemParseError will be raised if the any of the child
      have the same tag name (see also: ensure_unique_tag_names).
  
      If `ensure_named` is not None, then a SystemParseError will be raised if the any of the child
      elements do not have the tagName `ensure_named` (see also: ensure_all_children_name).
  
      If `only_whitespace_text` is True then a SystemParseError will be raised if any of the child
      nodes are non-whitespace text.
  
      """
      children = [child for child in element.childNodes if child.nodeType == child.ELEMENT_NODE]
      if matching is not None:
          children = [child for child in children if child.tagName == matching]
      if ensure_unique:
          ensure_unique_tag_names(children)
      if ensure_named:
          ensure_all_children_named(element, ensure_named)
      if only_whitespace_text:
          ensure_only_whitespace_text_children(element)
  
      return children
function_tokens: def element_children ( element , ensure_unique = False , ensure_named = None , matching = None , only_whitespace_text = False ) : children = [ child for child in element . childNodes if child . nodeType == child . ELEMENT_NODE ] if matching is not None : children = [ child for child in children if child . tagName == matching ] if ensure_unique : ensure_unique_tag_names ( children ) if ensure_named : ensure_all_children_named ( element , ensure_named ) if only_whitespace_text : ensure_only_whitespace_text_children ( element ) return children