RE: [xsl] Testing 2 XML documents for equality - a solution

Subject: RE: [xsl] Testing 2 XML documents for equality - a solution
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Fri, 1 Apr 2005 19:41:43 +0100
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: [xsl] 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