CompareDocument()

XsltContext::CompareDocument(String, String) method

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

virtual int32_t System::Xml::Xsl::XsltContext::CompareDocument(String baseUri, String nextbaseUri)=0

Arguments

ParameterTypeDescription
baseUriStringThe base URI of the first document to compare.
nextbaseUriStringThe 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