xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ed Staub <est...@kana.com>
Subject RE: Question about document type nodes and JAXP
Date Tue, 10 Oct 2000 21:23:57 GMT
It's in the W3C's DOM Level 2 Candidate Recommendation; see
http://www.w3.org/TR/DOM-Level-2-Core/core.html#ID-3A0ED0A4.  (and thank
Arnaud!)

So you should see other parsers pick it up if all goes well.
If you're still worried, I'd create a static method in your utilities which
wraps it, e.g.
	cloneNode(node, bDeep);

-Ed

-----Original Message-----
From: Eric Hodges [mailto:harmony2@swbell.net]
Sent: Tuesday, October 10, 2000 5: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