RE: Testing 2 XML documents for equality - a solution
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?
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format