I created iterators from the XQueryEvaluator and can i still use DeepEqual.deepEquals() function. Not sure what should i set the XPathContext and GenericAtomicComparer. Thanks


On Thu, Mar 6, 2008 at 1:01 PM, Michael Kay <mike@saxonica.com> wrote:
I think the "correct" way to do this is to compile/load/run an XPath or XQuery expression of the form "deep-equal($x, $y)", supplying the values of $x and $y as run-time parameters.
In principle you can make a direct call on the static method net.sf.saxon.functions.DeepEqual.deepEquals() with appropriate parameters, but there's no guarantee that such an interface is stable.
Michael Kay

From: saxon-help-bounces@lists.sourceforge.net [mailto:saxon-help-bounces@lists.sourceforge.net] On Behalf Of Rishikesh Kollipara
Sent: 06 March 2008 17:20
To: saxon-help@lists.sourceforge.net
Subject: [saxon] using deep-equal in saxon


I have two xml documents. I want to do an deep-equal on node1 in document1 with node2 in documents using saxonB-9.0 java API. Is it possible to do? If so can somebody please let me know. Thanks

This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
saxon-help mailing list archived at http://saxon.markmail.org/