JAXB : comparing and updating trees

J

Jean-Marie Condom

hello

after having loaded two xml files (file1.xml and file2.xml),
using unmarshaling process and based on the same xml schema,
i get two trees (tree1 and tree2) and i have to do the following operations :
1 - compare both trees
to see whether they are identical or not
2 - update tree1 from tree2 if sub-trees are present in tree2
and lacking in tree1

does jaxb provides methods to do such operations ?

thanks in advance

Jean-Marie
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,020
Latest member
GenesisGai

Latest Threads

Top