[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: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Fri, 1 Apr 2005 19:41:43 +0100
compare 2 xml documents
If you know how to compare two documents then you can copy the documents
into variables and compare the variables. If you don't know how to compare
two documents then it makes very little difference whether they are in
variables or not.

Michael Kay
http://www.saxonica.com/  

> -----Original Message-----
> From: Mukul Gandhi [mailto:mukul_gandhi@xxxxxxxxx] 
> Sent: 01 April 2005 18:49
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: RE:  Testing 2 XML documents for equality - a solution
> 
> I put another question.. This is a XSLT problem (in
> relation to this thread).
> 
> An idea came to my mind:
> Given 2 XML files (say file1.xml and file2.xml) , can
> we write a stylesheet(XSLT 1.0) which does identity
> transform of file1 and file2 seperately(within the
> same stylesheet) , and store the output of these 2
> identity transforms in 2 different variables. Then we
> can compare the two variables..
> 
> Is it possible..?
> 
> Regards,
> Mukul
> 
> 
> 		
> __________________________________ 
> Do you Yahoo!? 
> Yahoo! Personals - Better first dates. More second dates. 
> http://personals.yahoo.com

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

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.
Email
First Name
Last Name
Company
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.