Hi all!
I wonder if there were any comments/answers to my auestion I posted a few days ago. 
Find my last email attached:
-----
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

______________________________________________________________________________
Darf es ein bisschen mehr sein? Mehr Speicher, mehr Mail, mehr Erlebnis, 
mehr Prämie, mehr WEB.DE.  Der WEB.DE Club - http://club.web.de


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

Reply via email to