xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Hodges <harmo...@swbell.net>
Subject RE: Question about document type nodes and JAXP
Date Tue, 10 Oct 2000 22:22:04 GMT
Also, cloneNode doesn't provide a way to attach the document type node to
the new document.  So I still need a way to copy a document type node from
one document to another.



> -----Original Message-----
> From: Eric Hodges [mailto:harmony2@swbell.net]
> Sent: Tuesday, October 10, 2000 4:04 PM
> To: general@xml.apache.org
> Cc: xerces-j-dev@xml.apache.org; xerces-dev@xml.apache.org
> Subject: RE: Question about document type nodes and JAXP
>
>
> Unfortunately that's a xerces specific method.  Like I said, we're using
> Xerces through JAXP, so we want to avoid tying ourselves to any
> XML parser.
>
>
> > -----Original Message-----
> > From: Venkat Ramana Karpuram [mailto:vramana@gst.fnc.fujitsu.com]
> > Sent: Tuesday, October 10, 2000 3:56 PM
> > To: general@xml.apache.org; eric.hodges@mongoosetech.com
> > Cc: xerces-j-dev@xml.apache.org; xerces-dev@xml.apache.org
> > Subject: Re: Question about document type nodes and JAXP
> >
> >
> > 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:     webmaster@xml.apache.org
> > > To unsubscribe, e-mail:          general-unsubscribe@xml.apache.org
> > > For additional commands, e-mail: general-help@xml.apache.org
> >
>
>
> ---------------------------------------------------------------------
> In case of troubles, e-mail:     webmaster@xml.apache.org
> To unsubscribe, e-mail:          general-unsubscribe@xml.apache.org
> For additional commands, e-mail: general-help@xml.apache.org
>


Mime
View raw message