[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Testing 2 XML documents for equality - a solution

Subject: RE: Testing 2 XML documents for equality - a solution
From: Mukul Gandhi <mukul_gandhi@xxxxxxxxx>
Date: Mon, 4 Apr 2005 05:57:47 -0700 (PDT)
saxon two xml
This is a nice feature provided by Saxon (infact very
nice). And is much more optimized than the named
template I wrote (in the stylesheet I posted last), as
Saxon's function runs in native Java code.. 

My named template has limitation that it can calculate
XPath string for element nodes only. But Saxon's
path() function can calculate XPath string for "all
types of nodes"..

I would explore it to use in my stylesheet.


--- Andrew Welch <ajwelch@xxxxxxxxxxxxxxx> wrote:
> A different way of comparing two XML documents
> springs to mind: iterate
> over docA getting each element's and attribute's
> saxon:path(), and
> compare the value by using saxon:evaluate($path) on
> docB.  The could
> check that docB is at least a superset of docA,
> possibly what Mukul is
> after?

Yahoo! Messenger 
Show us what our next emoticon should look like. Join the fun. 

Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.