NativeXml Help
TNativeXml.LoadFromStream
procedure LoadFromStream(AStream: TStream); virtual;
Description
Load an XML document from the stream AStream. The LoadFromStream procedure will raise an exception when it encounters non-wellformed XML. This method can be used with any TStream descendant. The stream is read chunk-wise (using 64K chunks). See also LoadFromFile and ReadFromString.