I was wondering if anyone has any experience or references to tools/projects/products that can be used to merge two XML documents.
I did a little bit of research through the web and I just found "basic" stuff (grouping same elements at the same level in the tree or also using the id attribute to avoid duplicates).
I was more looking for something where some kind of set of rules can be specified to determine how the merge should be done.
I am looking at some merges that can be quite complicated such as testing specific attribute values or content of text nodes or element nodes to determine how the merge should be done.
I am also wondering if for such merges, XSLT is the right answer compared to some kind of a generic program implemented on top of SAX or something like that.
Any pointers will be appreciated.
Thomas