Hi!
Imagine two documents which should be combined: They should describe a car park, first 
the color, then car-size and finally a car-number or whatever.
1)
doc1
  -----red
         -----large
                -----car1
                -----car2
         -----small
                -----car3
  -----blue
         -----large
                -----car4
2)
doc2
  -----blue
         -----small
                -----car5
  -----yellow
         -----large
                -----car6

these both documents should be combined in a way that doc1 is replanished with all 
cars of doc2 that after combining doc1 looks like:

3)
doc1
  -----red
         -----large
                -----car1
                -----car2
         -----small
                -----car3
  -----blue
         -----large
                -----car4
         -----small
                -----car5
  -----yellow
         -----large
                -----car6

Actually I am missing something like
doc1 = doc1.combine(doc2)

Is there somthing familiar to get this result or do I have to pass through every 
single element of doc2 and add them manually to doc1?

Best regards
Marc
______________________________________________________________________________
100 MB gute Gründe. Jetzt im WEB.DE Club anmelden und Prämie sichern!
Superstars, Topevents und Wunschrufnummer inklusive - http://club.web.de


_______________________________________________
dom4j-dev mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dom4j-dev

Reply via email to