parameters: (self, path)
return_statement: return suceeded
docstring: Write the xml to a file
          @param path: string
          @return: success (bool)
docstring_summary: Write the xml to a file
          @param path: string
          @return: success (bool)
docstring_tokens: Write the xml to a file @param path : string @return : success ( bool )
function: def Write(self, path):
          """Write the xml to a file
          @param path: string
          @return: success (bool)
  
          """
          suceeded = True
          try:
              xmlstr = self.PrettyXml
              if isinstance(xmlstr, types.UnicodeType):
                  xmlstr = xmlstr.encode('utf-8')
              handle = open(path, 'wb')
              handle.write(xmlstr)
              handle.close()
          except (IOError, OSError, UnicodeEncodeError):
              suceeded = False
          return suceeded
function_tokens: def Write ( self , path ) : suceeded = True try : xmlstr = self . PrettyXml if isinstance ( xmlstr , types . UnicodeType ) : xmlstr = xmlstr . encode ( 'utf-8' ) handle = open ( path , 'wb' ) handle . write ( xmlstr ) handle . close ( ) except ( IOError , OSError , UnicodeEncodeError ) : suceeded = False return suceeded