I’m working on a Linux project that includes comparing XML files and I need a source code on C++ to compare XML fragments. I’m using ExamXML from http://www.a7soft.com to compare XML files but this is Windows application.
I'm not sure what languages these are in (the URL does say Java, though): Open Source XML Diff This project doesn't mention language at all: diffxml and patchxml XML diff in many different languages Maybe there's something in there to get you started.