Discuss this help topic in SecureBlackbox Forum

TElXMLDOMDocument.SaveToFile

TElXMLDOMDocument     See also     


Filter: C#  VB.NET  Pascal  C++  PHP  Java  


Saves the document to a file.

Declaration

[C#]
    void SaveToFile(string aFileName);
    void SaveToFile(string aFileName, TElXMLCanonicalizationMethod aMethod);
    void SaveToFile(string aFileName, TElXMLCanonicalizationMethod aMethod, TElXMLCodec aEncoding);
    void SaveToFile(string aFileName, TElXMLCanonicalizationMethod aMethod, string aCharset);

[VB.NET]
    Sub SaveToFile(ByVal aFileName As String)
    Sub SaveToFile(ByVal aFileName As String, ByVal aMethod As TElXMLCanonicalizationMethod)
    Sub SaveToFile(ByVal aFileName As String, ByVal aMethod As TElXMLCanonicalizationMethod, ByVal aEncoding As TElXMLCodec)
    Sub SaveToFile(ByVal aFileName As String, ByVal aMethod As TElXMLCanonicalizationMethod, ByVal aCharset As String)

[Pascal]
    procedure SaveToFile(const aFileName : string);
    procedure SaveToFile(const aFileName : string; aMethod : TElXMLCanonicalizationMethod);
    procedure SaveToFile(const aFileName : string; aMethod : TElXMLCanonicalizationMethod; aEncoding : TElXMLCodec);
    procedure SaveToFile(const aFileName : string; aMethod : TElXMLCanonicalizationMethod; const aCharset : string);

[C++]
    void SaveToFile(const std::string &aFileName);
    void SaveToFile(const std::string &aFileName, TElXMLCanonicalizationMethod aMethod);
    void SaveToFile(const std::string &aFileName, TElXMLCanonicalizationMethod aMethod, TElXMLCodec &aEncoding);
    void SaveToFile(const std::string &aFileName, TElXMLCanonicalizationMethod aMethod, TElXMLCodec *aEncoding);
    void SaveToFile(const std::string &aFileName, TElXMLCanonicalizationMethod aMethod, const std::string &aCharset);

[PHP]
    void SaveToFile(string $aFileName)
    void SaveToFile(string $aFileName, integer $aMethod)
    void SaveToFile(string $aFileName, integer $aMethod, TElXMLCodec $aEncoding)
    void SaveToFile(string $aFileName, integer $aMethod, string $aCharset)

[Java]
    void saveToFile(String aFileName, TElXMLCanonicalizationMethod aMethod, TElXMLCodec aEncoding);
    void saveToFile(String aFileName, TElXMLCanonicalizationMethod aMethod);
    void saveToFile(String aFileName);
    void saveToFile(String aFileName, TElXMLCanonicalizationMethod aMethod, String aCharset);

Parameters

  • aFileName - name of the file where the document should be saved.
  • aMethod - specifies XML canonicalization method.
  • aEncoding - specifies character encoding.
  • aCharset - specifies the charset.

TElXMLCanonicalizationMethod values

Description

    Use this method to save the document to a file.

See also:     SaveToStream    

Discuss this help topic in SecureBlackbox Forum