DynamicDOM v0.43.2. Implementation based on XRules v0.43

DDomContext.CompareDocument Method 

When overridden in a derived class, compares the base URIs of two documents based upon the order the documents were loaded by the XSLT processor (that is the XslTransform class).

[Visual Basic]
Overrides Public Function CompareDocument( _ 
   ByVal baseUri As String, _ 
   ByVal nextbaseUri As String _ 
) As Integer
public override int CompareDocument(
   string baseUri,
   string nextbaseUri
public: int CompareDocument(
   String* baseUri,
   String* nextbaseUri
public override function CompareDocument(
   String baseUri,
   String nextbaseUri
): int;


The base URI of the first document to compare.
The base URI of the second document to compare.

Return Value

An integer value describing the relative order of the two base URIs. -1 if baseUri occurs before nextbaseUri, 0 if the two base URIs are identical and 1 if baseUri occurs after nextbaseUri.

See Also

DDomContext Class | XRules Namespace