Mvp.Xml API Documentation

XmlFragmentStream Class

Allows streams without a root element (i.e. multiple document fragments) to be passed to an XmlReader.

For a list of all members of this type, see XmlFragmentStream Members.

System.Object
   MarshalByRefObject
      Stream
         XmlFragmentStream

public class XmlFragmentStream : Stream

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

A faked root element is added at the stream level to enclose the fragments, which can be customized using the overloaded constructors.

Author: Daniel Cazzulino, kzu@aspnet2.com

See: http://weblogs.asp.net/cazzu/archive/2004/04/23/119263.aspx.

Requirements

Namespace: Mvp.Xml.Common

Assembly: Mvp.Xml (in Mvp.Xml.dll)

See Also

XmlFragmentStream Members | Mvp.Xml.Common Namespace