JAXB : comparing and updating trees

Discussion in 'Java' started by Jean-Marie Condom, Dec 28, 2004.

  1. 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
     
    Jean-Marie Condom, Dec 28, 2004
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Brahim Machkour

    JAXB and Arabic encoding

    Brahim Machkour, Jul 25, 2003, in forum: Java
    Replies:
    3
    Views:
    622
    Jon A. Cruz
    Jul 27, 2003
  2. Replies:
    3
    Views:
    255
    Duncan Booth
    Dec 15, 2006
  3. news.rcn.com
    Replies:
    2
    Views:
    1,182
    Roedy Green
    Dec 10, 2007
  4. Franken Sense

    comparing binary trees in C

    Franken Sense, May 1, 2009, in forum: C Programming
    Replies:
    12
    Views:
    691
    Franken Sense
    May 9, 2009
  5. jacob navia

    Binary search trees (AVL trees)

    jacob navia, Jan 3, 2010, in forum: C Programming
    Replies:
    34
    Views:
    1,491
    Dann Corbit
    Jan 8, 2010
Loading...

Share This Page