xsl-list
[Top] [All Lists]

RE: Testing 2 XML documents for equality - a solution

2005-04-01 11:41:43
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(_at_)yahoo(_dot_)com] 
Sent: 01 April 2005 18:49
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
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


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--





--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--