parameters: (outfile, name, value, indent)
docstring: Writes a simple XML element.
  
    Args:
      outfile: File object we write the XML element to.
      name: A string, the name of XML element.
      value: A Python object, whose string representation will be used
        as the value of the XML element.
      indent: A string, prepended to each line of generated output.
docstring_summary: Writes a simple XML element.
docstring_tokens: Writes a simple XML element .
function: def _WriteSimpleXMLElement(outfile, name, value, indent):
    """Writes a simple XML element.
  
    Args:
      outfile: File object we write the XML element to.
      name: A string, the name of XML element.
      value: A Python object, whose string representation will be used
        as the value of the XML element.
      indent: A string, prepended to each line of generated output.
    """
    value_str = str(value)
    if isinstance(value, bool):
      # Display boolean values as the C++ flag library does: no caps.
      value_str = value_str.lower()
    outfile.write('%s<%s>%s</%s>\n' %
                  (indent, name, _MakeXMLSafe(value_str), name))
function_tokens: def _WriteSimpleXMLElement ( outfile , name , value , indent ) : value_str = str ( value ) if isinstance ( value , bool ) : # Display boolean values as the C++ flag library does: no caps. value_str = value_str . lower ( ) outfile . write ( '%s<%s>%s</%s>\n' % ( indent , name , _MakeXMLSafe ( value_str ) , name ) )