def child_node_from_list(child_node_name):
  """Returns a value suitable for generating an XML child node on export.

  The return value is a list of tuples that the simplexml connector will
  use to build a child node.

  See also list_from_child_node

  Args:
    child_node_name: The name to use for each child node.

  Returns:
    A function that works as described in the args.
  """

  def child_node_from_list_lambda(values):
    return [(child_node_name, value) for value in values]

  return child_node_from_list_lambda