Patch Method (XmlReader, Stream, XmlReader)

Microsoft XML Diff

Microsoft XML Diff 1.0 and XML Patch 1.0

XmlPatch.Patch Method (XmlReader, Stream, XmlReader)

Modifies the document or fragment parsed by an XmlReader by applying the XDL Diffgram, which is also parsed by an XmlReader. The resulting patched document or fragment is outputted to a Stream.

 [Visual Basic]
Overloads Public Sub Patch( _
  ByVal sourceReader As XmlReader, _
  ByVal outputStream As Stream, _
  ByVal diffgramReader As XmlReader _
)
[C#]
public void Patch(
  XmlReader sourceReader,
  Stream outputStream,
  XmlReader diffgramReader
);

Parameters

sourceReader
The XmlReader parsing the original source XML document or fragment that will be patched.
outputStream
The stream to which you want to output the resulting patched document or fragment.
diffgramReader
The XDL Diffgram parsed by the XmlReader that is applied to the source XML document or fragment.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP, Windows .NET Server

See Also

XmlPatch Class | XmlPatch Members | Microsoft.XmlDiffPatch

© 2002 Microsoft Corporation. All rights reserved.