[jdom-interest] Best way to copy XML files with JDOM??

Alexander Hvostov root at aoi.dyndns.org
Wed Nov 14 13:46:06 PST 2001


On Wed, 14 Nov 2001 10:44:18 +0100
"Pedro" <ppalomo at hotpop.com> wrote:

> Hi friends¡¡¡
> 
> I'm developing an application to copy XML files with JDOM.
> 
> Which one is the best way to do this with JDOM API??
> 
> Can i use the Clone method in the API to copy an entire JDOM Document??
> 
> Thanks¡¡
> 
> Pedro Palomo.
> Málaga(Spain)

If you're just trying to copy the XML document raw and don't want to
modify it or anything, you'd be better off to simply copy the file or
write a new one with FileOutputStream or the like.

Regards,

Alex.



More information about the jdom-interest mailing list