Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > JAXB : comparing and updating trees

Thread Tools

JAXB : comparing and updating trees

Jean-Marie Condom
Posts: n/a

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

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Binary search trees (AVL trees) jacob navia C Programming 34 01-08-2010 07:27 PM
comparing binary trees in C Franken Sense C Programming 12 05-09-2009 07:33 AM
Updating JTable Atomically - block data changes while updating. Java 2 12-10-2007 11:49 AM
Problem comparing object graphs and trees Python 3 12-15-2006 02:10 PM
JAXB and Arabic encoding Brahim Machkour Java 3 07-27-2003 03:21 AM