Questions tagged [xmldiff]

49 questions
8
votes
0 answers

What is the license for Microsoft XmlDiffPatch source code?

Microsoft distributes a software from 2002 called XmlDiffPatch. The pack also contains the source code for the application. Is there any license related to this source code? Can I change the code, recompile and reference it on my own application?
Vinicius Rocha
  • 4,023
  • 4
  • 29
  • 38
5
votes
0 answers

How to get only modified nodes using XmlDiffView GetHTML

We have two xml files and need to find the diff of it. For this we are using XMLDiff library. We are able to get the difference but now wanted to have a UI which shows modified nodes. So used XmlDiffView class. Code is as below XmlDiffView dv =…
Oxygen
  • 831
  • 4
  • 17
  • 42
3
votes
3 answers

How to compare XML documents

I need to compare two XML chunks: They are semantically equivalent once we see that the type attribute is QName and not just a string. Is there a tool that can do such a…
Yaron Naveh
  • 23,560
  • 32
  • 103
  • 158
3
votes
1 answer

Compare and filter two xml files in php

I want to compare two xml files in PHP (actually filter one by the second), one xml file contains for example "interfaces" data another contains interfaces(rule.xml) but with less elements just what i want exactly, and want to get filtered data…
Junior12
  • 29
  • 4
3
votes
1 answer

How can I read diffgram file generated by XmlDiff.Compare()

I am comparing two XML files using XMLDiff.compare() Which I am using for the first time and unable to figure out what to do with the diffgram file generated to generate an HTML for the Difference in the two XMLs. bool bIdentical =…
Ak02
  • 143
  • 4
  • 16
2
votes
1 answer

JavaScript implementation of XML differences

Is there some javaScript implementation to handle deltas between XML data? The main point is to detect the existence of the difference, it doesn't matter what was changed: attribute or node value. Requirements are as follows: Each node will have…
Pavel Rodionov
  • 380
  • 1
  • 2
  • 8
2
votes
2 answers

XMLdiff for php installation

I am trying to install xml diff ; https://github.com/mmacia/XMLdiff and i have not managed yet to make it work.Whenever i run any test example,i get Fatal error: Interface 'PHPUnit_Framework_Test' not found in …
Gandalf
  • 1
  • 29
  • 94
  • 165
2
votes
1 answer

How can I get the source code of XmlDiffPatch library?

I came across the Microsofr.XmlDiffPatch and I would like to check how the Patch algorithm works. I spent sometime searching for the source code of this library, but didn't find anything useful yet. My questions are: Is it possible to obtain this…
Mia
  • 143
  • 1
  • 9
2
votes
0 answers

Using XMLDiff to find difference between 2 XML Files

So I'm trying to use the XMLDiff Microsoft provides to find the difference between two XML files. The aim is to compare two XML files and find out the exact differences so I can make an Audit Trail out of them. The files may have difference…
Anupam
  • 1,821
  • 3
  • 23
  • 41
2
votes
0 answers

Convert Xml Diffgrams to xpath?

I am using the Microsoft Xml Diff Path API and it is generating a diffgram like this MATCH…
code-ninja
  • 1,586
  • 1
  • 15
  • 23
2
votes
1 answer

Looking for performant XyDiff Port in C# (XML Diff Patch with XID)

I store some data as XML and the changes of the user as diff to the original XML, so the data for the user can be patched on runtime. Example for the original xml (only part of it): ...
2
votes
0 answers

Regarding XML Diff & Patch

I got the example from MSDN about how to compare two XML with XML Diff and Patch. MSDN XML Diff & Path It is an easy example but I dont get what I expect. I have the following XMls: A 4 and…
Daniel Camacho
  • 423
  • 5
  • 12
  • 27
1
vote
0 answers

Patch the difference of two XML instance files into the template XML file

I have a template XML file written using mako engine which is used to generate a config XML file. Below is a sample template. ${rank} 2008
Uday
  • 11
  • 1
1
vote
1 answer

How to parse XML file without deleting tags?

I have a little xml-parsing problem. Here is my junit-1.xml file:
Osho
  • 168
  • 1
  • 9
1
vote
0 answers

Is there RFC 5261 implementation for producing the XML-patch files (rather then implementations that apply a given patch)

I've seen a couple of implementation where a RFC 5261 can be applied to a XML file to obtain a new patched version of the original file. I'm looking for an implementation of RFC 5261 that takes two XML-files and creates the XML-patch that would…
1
2 3 4