tools/metrics/histograms/merge_xml.py
def MakeNodeWithChildren(doc, tag, children):
  """Creates a DOM node with specified tag and child nodes.

  Args:
    doc: The document to create the node in.
    tag: The tag to create the node with.
    children: A list of DOM nodes to add as children.

  Returns:
    A DOM node.
  """
  node = doc.createElement(tag)
  for child in children:
    node.appendChild(child)
  return node
Creates a DOM node with specified tag and child nodes.

  Args:
    doc: The document to create the node in.
    tag: The tag to create the node with.
    children: A list of DOM nodes to add as children.

  Returns:
    A DOM node.
  
Creates a DOM node with specified tag and child nodes.
Creates a DOM node with specified tag and child nodes .
def MakeNodeWithChildren(doc, tag, children):
  node = doc.createElement(tag)
  for child in children:
    node.appendChild(child)
  return node
def MakeNodeWithChildren ( doc , tag , children ) : node = doc . createElement ( tag ) for child in children : node . appendChild ( child ) return node
Creates a DOM node with specified tag and child nodes.
Creates a DOM node with specified tag and child nodes .
"""Creates a DOM node with specified tag and child nodes.

  Args:
    doc: The document to create the node in.
    tag: The tag to create the node with.
    children: A list of DOM nodes to add as children.

  Returns:
    A DOM node.
  """
A DOM node.
A DOM node .
doc
The document to create the node in.
The document to create the node in .
tag
The tag to create the node with.
The tag to create the node with .
children
A list of DOM nodes to add as children.
A list of DOM nodes to add as children .