Code Robo
Virtual Service
Tester / Comparator
Converter
Utility
Java Code Complience
Validator
Formatter
EncoderDecoder

XML Comparator (XML Diff)
Talk to EasyAssistant

XML Comparator is used to compare two XML files. This utility has been built up to compare two XML documents. Just need to provide the XML contents, it will compare and find out the differences.
The XML comparator supports XML namespaces fully. The declarations of XML namespace need to be explicit and on the root XML element level.if xml name space defined in other elements, it copied the namespace decleration at the root level and then compare in the documents.It supports default namespace also.

Its not a text compare. It mainly compare elements and attributes from both the XMLs.
Click Here To Watch A Demo On It(https://youtu.be/grECgKDbeuw).

It provides following options to compare.
  1. Sorting and comparing
  2. Comparing XML ignoring comments
  3. Comparing XML ignoring element and attribute values from both the XMLs. It is XML structure comparasion.
XML1:(* Required): It is required.   XML2:(* Required only for 'Test XPath'): It is required.
 
Remove Comments Sort XML Before Compare Compare Ignoring Element And Attribute Values
Show Changed Values Only Show Only Summary Of Changes
XML Examples:

All of the examples use the following sample XML code.
XML 1:
XML 2


How It Works:
First it analyze both the XML file content. Check the precoditions before compare. Once preconditions are pased, it copare the attribute values and element values in both the XMLs. It cheks for new element and attribute also. It detects if any element / attribute is deleted from XMl2. Mark the differences with various colors. Red means deleted. Green means added. Blue means modified.
Pre Conditions:
  1. Both XML needs to be well formed
  2. Root element name of both the XMLS has to be same.
Steps To Execute:
  1. Add first XML content in the first text area.
  2. Add 2nd XML content in the 2nd text area.
  3. Click on the compare XML button
User Comments:
Shilpa Jha:
It's not working properly when we are having repetitive element in the XML.
    Reply;


Post Your Comment:
Name :
Email ( Optional*) :
Comments / Suggestion (* Required) It is required: :
: