HI Eric!
    I think the Api  "cloneNode"  which is in
org.apache.xerces.dom.DocumentImpl  should help you out. Please check the
documentation to make sure of it. I used long time back and i remember i didn't
had any problems.

Thanks
Venkat Ramana

Eric Hodges wrote:

> I need to duplicate XML documents.  I'm using Xerces, going through the JAXP
> interface.  I can't find any way to copy the document type node from one
> document to a new one.  What are other people doing in this situation, or is
> there a suggested way to do it?
>
> Thanks.
>
> ---------------------------------------------------------------------
> In case of troubles, e-mail:     [EMAIL PROTECTED]
> To unsubscribe, e-mail:          [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
begin:vcard 
n:Ramana;Venkat
tel;fax:408 325 8525
tel;home:408 244 5307
tel;work:408 325 8552
x-mozilla-html:FALSE
adr:;;;;;;
version:2.1
email;internet:[EMAIL PROTECTED]
x-mozilla-cpt:;11232
fn:Venkat Ramana
end:vcard

Reply via email to