[jdom-interest] Combining small xml documents into a large xm
	l  document
    Michael Molloy 
    mmolloy at RESORTQUEST.com
       
    Mon Feb  5 05:08:52 PST 2001
    
    
  
I understand how to remove an element and append it to a new location on the
same object. Can I remove an element from one object & append it to another?
(From XMLDoc1 to XMLDoc2).
Thanks
--Michael
> 
> Michael Molloy wrote:
> > 
> > I need a way to combine small xml documents into one large 
> xml document. For
> > example,
> > 
> > <company>
> >     <propertygroup1>
> >         <unit>1</unit>
> >     </propertygroup1>
> > </company>
> > .....
> > Can I do this with jdom? If so, is jdom the best way to go, 
> or is there
> > another, easier way?
> 
> It's trivial to do in JDOM.  Just remove an element from its 
> parent and
> append it to its new location.  XSLT is another option, depending on
> your desire to learn XSLT.
> 
> -jh-
> 
    
    
More information about the jdom-interest
mailing list