tools/metrics/ukm/ukm_model.py
def PrettifyXML(original_xml):
  """Parses the original xml and return a pretty printed version.

  Args:
    original_xml: A string containing the original xml file contents.

  Returns:
    A pretty-printed xml string, or None if the config contains errors.
  """
  config = UKM_XML_TYPE.Parse(original_xml)
  return UKM_XML_TYPE.PrettyPrint(config)
Parses the original xml and return a pretty printed version.

  Args:
    original_xml: A string containing the original xml file contents.

  Returns:
    A pretty-printed xml string, or None if the config contains errors.
  
Parses the original xml and return a pretty printed version.
Parses the original xml and return a pretty printed version .
def PrettifyXML(original_xml):
  config = UKM_XML_TYPE.Parse(original_xml)
  return UKM_XML_TYPE.PrettyPrint(config)
def PrettifyXML ( original_xml ) : config = UKM_XML_TYPE . Parse ( original_xml ) return UKM_XML_TYPE . PrettyPrint ( config )
Parses the original xml and return a pretty printed version.
Parses the original xml and return a pretty printed version .
"""Parses the original xml and return a pretty printed version.

  Args:
    original_xml: A string containing the original xml file contents.

  Returns:
    A pretty-printed xml string, or None if the config contains errors.
  """
A pretty-printed xml string, or None if the config contains errors.
A pretty - printed xml string or None if the config contains errors .
original_xml
A string containing the original xml file contents.
A string containing the original xml file contents .