Hi Gary,


If you would order children based on their ID, or to put it more generally
normalize your input, then you might have more options. I have used
xsltunit in the past, but only for small comparisons, and exact matches. I
have worked with diffmk, to which Norm contributed a lot (if not all). It
is written in Java, but I am afraid development on it has been stopped
years back. Stackoverflow mentions XMLUnit as best option (
http://stackoverflow.com/questions/141993/best-way-to-compare-2-xml-documents-in-java,
http://stackoverflow.com/questions/10311563/comparing-two-xml-files-using-java).
Most of the solutions talk about exact matches, not marking differences
though.



Cheers,

Geert



*Van:* [email protected] [mailto:
[email protected]] *Namens *Gary Larsen
*Verzonden:* woensdag 29 januari 2014 20:08
*Aan:* 'General MarkLogic Developer Discussion'
*Onderwerp:* [MarkLogic Dev General] comparing XML documents



Sorry is this is a bit off topic but I'm looking ways to compare large
documents and generate a difference document.  I need to run this from Java
and ideally would be able to compare children orderlessly by tagging
children with IDs.



Looks like DeltaXML is very good at this type of thing but may not
affordable for us.  Any other suggestions?



Thanks for your help,



Gary
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to