Discuss this help topic in SecureBlackbox Forum

TElXMLDOMDocument.LoadFromStream

TElXMLDOMDocument     See also     


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


Reads the XML document from the stream and parses it.

Declaration

[C#]
    void LoadFromStream(System.IO.Stream aStream);
    void LoadFromStream(System.IO.Stream aStream, string DefaultEncoding, bool NormalizeNEL);
    void LoadFromStream(System.IO.Stream aStream, bool OwnStream, TElXMLDelayLoadMode DataToLoad);
    void LoadFromStream(System.IO.Stream aStream, bool OwnStream, TElXMLDelayLoadMode DataToLoad, string DefaultEncoding, bool NormalizeNEL);

[VB.NET]
    Sub LoadFromStream(ByVal aStream As System.IO.Stream)
    Sub LoadFromStream(ByVal aStream As System.IO.Stream, ByVal DefaultEncoding As String, ByVal NormalizeNEL As Boolean)
    Sub LoadFromStream(ByVal aStream As System.IO.Stream, ByVal OwnStream As Boolean, ByVal DataToLoad As TElXMLDelayLoadMode)
    Sub LoadFromStream(ByVal aStream As System.IO.Stream, ByVal OwnStream As Boolean, ByVal DataToLoad As TElXMLDelayLoadMode, ByVal DefaultEncoding As String, ByVal NormalizeNEL As Boolean)

[Pascal]
    procedure LoadFromStream(aStream : TElStream);
    procedure LoadFromStream(aStream : TElStream; const DefaultEncoding : string; NormalizeNEL : Boolean = True);
    procedure LoadFromStream(aStream : TElStream; OwnStream : Boolean; DataToLoad : TElXMLDelayLoadMode);
    procedure LoadFromStream(aStream : TElStream; OwnStream : Boolean; DataToLoad : TElXMLDelayLoadMode; const DefaultEncoding : string; NormalizeNEL : Boolean = True);

[C++]
    void LoadFromStream(TStream &aStream);
    void LoadFromStream(TStream *aStream);
    void LoadFromStream(TStream &aStream, const std::string &DefaultEncoding, bool NormalizeNEL);
    void LoadFromStream(TStream *aStream, const std::string &DefaultEncoding, bool NormalizeNEL);
    void LoadFromStream(TStream &aStream, bool OwnStream, TElXMLDelayLoadMode DataToLoad);
    void LoadFromStream(TStream *aStream, bool OwnStream, TElXMLDelayLoadMode DataToLoad);
    void LoadFromStream(TStream &aStream, bool OwnStream, TElXMLDelayLoadMode DataToLoad, const std::string &DefaultEncoding, bool NormalizeNEL);
    void LoadFromStream(TStream *aStream, bool OwnStream, TElXMLDelayLoadMode DataToLoad, const std::string &DefaultEncoding, bool NormalizeNEL);

[PHP]
    void LoadFromStream(TStream $aStream)
    void LoadFromStream(TStream $aStream, string $DefaultEncoding, bool $NormalizeNEL)
    void LoadFromStream(TStream $aStream, bool $OwnStream, integer $DataToLoad)
    void LoadFromStream(TStream $aStream, bool $OwnStream, integer $DataToLoad, string $DefaultEncoding, bool $NormalizeNEL)

[Java]
    void loadFromStream(TElStream aStream);
    void loadFromStream(TElStream aStream, String DefaultEncoding, boolean NormalizeNEL);
    void loadFromStream(TElStream aStream, boolean OwnStream, TElXMLDelayLoadMode DataToLoad);
    void loadFromStream(TElStream aStream, boolean OwnStream, TElXMLDelayLoadMode DataToLoad, String DefaultEncoding, boolean NormalizeNEL);

Parameters

  • aStream - The stream from which the document is loaded.
  • Stream (AStream) - The stream from which the document is loaded.
  • OwnStream - If this parameter is False than the stream shouldn't be closed until the XML document object is alive.
  • 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.

Data types that can be loaded:

Description

    Use this method to read the XML document from the stream. The encoding is determined and handled automatically, or set via the DefaultEncoding parameter.
Note that the Stream can be closed by user after method completion.

See also:     SaveToStream    

Discuss this help topic in SecureBlackbox Forum