Questions tagged [xmldiff]
49 questions
0
votes
1 answer
Comparing XML by nodes names and attributes names in C#
I want to compare two (or more) XMLs files by tags names and attributes names. I`m not interested by values of attributes or nodes.
Searching on google i found XMLDiff Patch ( http://msdn.microsoft.com/en-us/library/aa302294.aspx ), but it not work…

Urmelinho
- 1,927
- 2
- 14
- 22
0
votes
1 answer
Exception in thread "main" while trying to compare two xml's using XML Unit
package util;
import java.io.BufferedReader;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.Reader;
import java.util.ArrayList;
import…

Akshay
- 1
- 1
0
votes
1 answer
xml-diff - grabbing data by tag
I have a parsed little XML file:

Osho
- 168
- 1
- 9
0
votes
0 answers
python. Build exe
I'm trying to build a project in exe through cx_Freeze.
The project uses the xmldiff library, which does not want to work after assembly.
#setup.py
import sys, os
from cx_Freeze import setup, Executable
__version__ = "0.1"
include_files =…

ioprst
- 187
- 16
0
votes
3 answers
compare xml files using python
I want to compare these two xml files:
File1.xml:

Mark
- 365
- 3
- 9
- 18
0
votes
1 answer
C#: Diff of two XML files - get only the nodes that have been modified/updated
I would like to get a list of nodes which have been modified (nodes added and nodes updated).
This is my program and XML files (before and after update)
fileBeforeUpdate.xml
…

Dooxe
- 11
- 5
0
votes
1 answer
How to ignore element order when diffing with XmlUnit
I have XML in the following format:
A
...
B
...
...
...
I want to…

D.R.
- 20,268
- 21
- 102
- 205
0
votes
1 answer
Comparing Xml by values of nodes or attributes in C#
I want to compare two (or more) XMLs files by values of nodes or attributes. I am not interested by node names or attributes.
Searching on google i found XMLDiff Patch ( http://msdn.microsoft.com/en-us/library/aa302294.aspx ), but it not work for…

Mahek
- 552
- 2
- 7
- 28
0
votes
1 answer
XMLUNIT Namespace exception when comparing XML files
I have 2 XML files and when comparing them using XMLUNIT, I get the below exception.
Exception in thread "main" org.w3c.dom.DOMException: NAMESPACE_ERR: An attempt is made to create or change an object in a way which is incorrect with regard to…

Purus
- 5,701
- 9
- 50
- 89
0
votes
4 answers
XmlDiffPatch raises exception Length cannot be less than zero
I am building a comparison engine script in PowerShell and one of the things I need to be able to compare are XML files. When I use the native PowerShell compare-object it returns 0 differences, yet if I grab the outerxml (text representation) and…

Justin
- 1,303
- 15
- 30
0
votes
1 answer
JAVA Utility/Plugin to find XML difference
I am looking for an utility/plugin in java to find difference between two XML files efficiently. Can you please provide a few suggestions to choose the best one?
Thanks in Advance.
Regards
Kishore

Jai Kishore
- 77
- 1
- 2
- 7
0
votes
1 answer
XMLUNIT - Comparing two xmls with differing Nodes
I have 2 XMLs to be compared:
File1.xml
1021
First Year
John
File2.xml

user2967948
- 529
- 2
- 8
- 23
0
votes
1 answer
XML Difference in Perl
I have a two XML files like one is old XML file and another one is new XML file. I want to print difference between files
I want output like this:
if content changed Degree to B.com it is a updated data
if attribute changed consider as a newly…

praveen
- 11
- 4
0
votes
1 answer
How can I compare two XMLs and display the differing line separately?
I need to compare 2 XMLs and display the differing lines. I saw Microsoft XMLDiff and Patch. But I don't understand how to use it. How can I use it for two XMLs which are in the folloing format? I saw similar questions.But their elements are all in…

user3727988
- 21
0
votes
2 answers
xmldiff issues on php
I am having some issues using xmldiff package. I'm using xmldiff package 0.9.2; PHP 5.4.17; Apache 2.2.25.
For example I have two xml files: "from.xml" & "to.xml".
File "from.xml" contains:
…

user3355863
- 1
- 2