Be aware however, that cloning a Document node (according to the javadocs)
is implementation specific to Xerces.

Brion Swanson

-----Original Message-----
From: Ren� Jensen [mailto:[EMAIL PROTECTED]
Sent: Friday, March 09, 2001 3:57 AM
To: [EMAIL PROTECTED]
Subject: Re: How to copy a DOM


Citat Christian Bj�rnbak <[EMAIL PROTECTED]>:

> Hi
> 
> How do I make a copy of a DOM??
> 
> Can I use the standard Java method clone() on Document??
> 
> /Christian
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

According to the javaDoc for xerces 1.2.3API the class DocumentImpl uses the

clone() method, but it also has a cloneNode() method.

I don�t know witch one of these you shuold use, but give it a shoot.
(I don�t think that it�s possible to break anything).

       _\|/_
       (@ @)
---oOOo-(_)-oOOo---
    Ren� Jensen
 [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to