File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes XML and Related Technologies and the fly likes How to print the tag element along with the value Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "How to print the tag element along with the value" Watch "How to print the tag element along with the value" New topic
Author

How to print the tag element along with the value

Saurabh Joshi
Ranch Hand

Joined: Nov 15, 2007
Posts: 37
Hi,

I am totally new to this, Please help me out.
By using XMLUnit I have written a code to compare two XML file and show the differences in the output, but along with the differences I want to have the node name at which differences was encountered.

I am getting the following output.

So along with the values where the difference was found, I need to also show the tag at which these differences occur.

Thanks in advance.
Saurabh.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to print the tag element along with the value
 
Similar Threads
How to build xml document from Database
compare the two xml files attributes, elements & sub elements
Lucene problem...
Mearging two word documents using POI
How to compare two huge xml files