CommonComparator compare Method (Stream, Uri, Stream, Uri, Stream)XML Compare .NET API Documentation
XML Compare .NET API Documentation - DEPRECATED
Compares two XML Streams and provides the result in a Stream

Namespace: DeltaXML.CoreS9Api.Internals
Assembly: DeltaXML.CoreS9Api (in DeltaXML.CoreS9Api.dll) Version: 10.4.0.1000 (10.4.0.1000)
Syntax

public void compare(
	Stream a,
	Uri systemIdA,
	Stream b,
	Uri systemIdB,
	Stream result
)

Parameters

a
Type: System.IO Stream
The stream providing the first input
systemIdA
Type: System Uri
A systemId used to locate relative references in input a and for error reporting
b
Type: System.IO Stream
The stream for the second input
systemIdB
Type: System Uri
A systemId used to locate relative references in input b and for error reporting
result
Type: System.IO Stream
The stream where the pipeline result will be written
Exceptions

Remarks

systemId parameters are provided so that relative URIs can be resolved in the inputs, they are also useful when reporting errors as the systemId may be useful when locating the error position. Using identifiers such as "string1" or "database2" may be useful when the inputs do not contain URIs to resolve as they appear in error messages and can aid error diagnosis.

See Also