(schema_path)
return _parse_element(schema_xml)
Parses the schema XML.

  Args:
    schema_path: Path to the schema XML file.

  Returns:
    An `ElementSpec` for the root element in the schema.
Parses the schema XML.
Parses the schema XML .
def parse_schema(schema_path):
  """Parses the schema XML.

  Args:
    schema_path: Path to the schema XML file.

  Returns:
    An `ElementSpec` for the root element in the schema.
  """
  with resources.GetResourceAsFile(schema_path) as file_handle:
    schema_xml = etree.parse(file_handle).getroot()
  return _parse_element(schema_xml)
def parse_schema ( schema_path ) : with resources . GetResourceAsFile ( schema_path ) as file_handle : schema_xml = etree . parse ( file_handle ) . getroot ( ) return _parse_element ( schema_xml )