Discuss this help topic in SecureBlackbox Forum

TElXMLDOMDocument.SaveToStream

TElXMLDOMDocument     See also     


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


Writes the document to the stream.

Declaration

[C#/Java]
    void SaveToStream(System.IO.Stream aStream);
    void SaveToStream(System.IO.Stream aStream, short aMethod, TElXMLCodec aEncoding);
    void SaveToStream(System.IO.Stream aStream, short aMethod, string aCharset);

[VB.NET]
    Sub SaveToStream(ByVal aStream As System.IO.Stream)
    Sub SaveToStream(ByVal aStream As System.IO.Stream, ByVal aMethod As Short, ByVal aEncoding As TElXMLCodec)
    Sub SaveToStream(ByVal aStream As System.IO.Stream, ByVal aMethod As Short, ByVal aCharset As String)

[Pascal]
    procedure SaveToStream(Stream : TStream; aMethod : TElXMLCanonicalizationMethod; aEncoding : TElXMLCodec);
    procedure SaveToStream(Stream : TStream; aMethod : TElXMLCanonicalizationMethod = xcmNone; aCharset : string = '');

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

[PHP]
    void SaveToStream(TStream $aStream)
    void SaveToStream(TStream $aStream, integer $aMethod, TElXMLCodec $aEncoding)
    void SaveToStream(TStream $aStream, integer $aMethod, string $aCharset)

Parameters

  • Stream - The stream to which the document is written.
  • aMethod - Canonicalization method to use when writing the data.
  • aEncoding - Character set encoding class to use.
  • aCharset - The name of the character set to use.
  • aStream - ...

Values:


Description

    Use this method to write the XML document to the stream. Use aEncoding OR aCharset parameter to specify, what encoding and/or charset is used for the document. If nothing is specified, UTF8 charset is used. Use aMethod parameter to specify the method of data canonicalization (if any canonicalization is needed).

See also:     LoadFromStream    

Discuss this help topic in SecureBlackbox Forum