Discuss this help topic in SecureBlackbox Forum

TElXMLDOMDocument.LoadFromFile

TElXMLDOMDocument     See also     


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


Loads the document from file.

Declaration

[C#]
    void LoadFromFile(string aFileName);
    void LoadFromFile(string aFileName, string DefaultEncoding, bool NormalizeNEL);
    void LoadFromFile(string aFileName, TElXMLDelayLoadMode DataToLoad);
    void LoadFromFile(string aFileName, TElXMLDelayLoadMode DataToLoad, string DefaultEncoding, bool NormalizeNEL);

[VB.NET]
    Sub LoadFromFile(ByVal aFileName As String)
    Sub LoadFromFile(ByVal aFileName As String, ByVal DefaultEncoding As String, ByVal NormalizeNEL As Boolean)
    Sub LoadFromFile(ByVal aFileName As String, ByVal DataToLoad As TElXMLDelayLoadMode)
    Sub LoadFromFile(ByVal aFileName As String, ByVal DataToLoad As TElXMLDelayLoadMode, ByVal DefaultEncoding As String, ByVal NormalizeNEL As Boolean)

[Pascal]
    procedure LoadFromFile(const aFileName : string);
    procedure LoadFromFile(const aFileName : string; const DefaultEncoding : string; NormalizeNEL : Boolean = True);
    procedure LoadFromFile(const aFileName : string; DataToLoad : TElXMLDelayLoadMode);
    procedure LoadFromFile(const aFileName : string; DataToLoad : TElXMLDelayLoadMode; const DefaultEncoding : string; NormalizeNEL : Boolean = True);

[C++]
    void LoadFromFile(const std::string &aFileName);
    void LoadFromFile(const std::string &aFileName, const std::string &DefaultEncoding, bool NormalizeNEL);
    void LoadFromFile(const std::string &aFileName, TElXMLDelayLoadMode DataToLoad);
    void LoadFromFile(const std::string &aFileName, TElXMLDelayLoadMode DataToLoad, const std::string &DefaultEncoding, bool NormalizeNEL);

[PHP]
    void LoadFromFile(string $aFileName)
    void LoadFromFile(string $aFileName, string $DefaultEncoding, bool $NormalizeNEL)
    void LoadFromFile(string $aFileName, integer $DataToLoad)
    void LoadFromFile(string $aFileName, integer $DataToLoad, string $DefaultEncoding, bool $NormalizeNEL)

[Java]
    void loadFromFile(String aFileName, TElXMLDelayLoadMode DataToLoad, String DefaultEncoding, boolean NormalizeNEL);
    void loadFromFile(String aFileName);
    void loadFromFile(String aFileName, TElXMLDelayLoadMode DataToLoad);
    void loadFromFile(String aFileName, String DefaultEncoding, boolean NormalizeNEL);

Parameters

  • aFileName - specifies the from which the document should be read.
  • DataToLoad - Specifies which data must be loaded.
  • DefaultEncoding - Specifies default encoding for the data to be loaded
  • NormalizeNEL - (Normalize NEw Line). This parameter is used to change the end-of-line characters.

TElXMLDelayLoadMode values

Description

    Use this method to load the document from file.

See also:     LoadFromStream    

Discuss this help topic in SecureBlackbox Forum