Meaningless Drivel is fun!*
The moose likes XML and Related Technologies and the fly likes compare two xml with xslt and print the difference Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "compare two xml with xslt and print the difference" Watch "compare two xml with xslt and print the difference" New topic
Author

compare two xml with xslt and print the difference

Ziaur Rahman
Greenhorn

Joined: Feb 08, 2011
Posts: 4
I have two xml files as given below file1.xml and file2.xml

file1.xml


file2.xml



I want to compare these two xml and using test.xsl print the difference. I have got this XSL file also. But i am not getting desired result... where I went wrong can you explain and fix it?


test.xsl





 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: compare two xml with xslt and print the difference
 
Similar Threads
XSLT merging help
xsl count
XSLT parsing XML
XSLT value-of parameter not works as xml value
How to Add a Line Counter for Each XML Element in XSL?