xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ralf I. Pfeiffer" <rpfei...@us.ibm.com>
Subject Re: Yet Another Xerces/Xalan question
Date Fri, 03 Mar 2000 19:48:30 GMT


Eric Hodges wrote:

> ----- Original Message -----
> From: Arnaud Le Hors <lehors@us.ibm.com>
> To: <general@xml.apache.org>
> Sent: Wednesday, March 01, 2000 2:35 PM
> Subject: Re: Yet Another Xerces/Xalan question
>
> > > The simple question is:  how can I move elements from one document to
> another?
> >
> > Look at importNode().
>
> The only place I can find this method is on
> org.apache.xerces.dom.DocumentImpl.  I can't call those methods since they
> are specific to the Apache implementation.  How do I do it with a standard
> Document interface?

This method is now part of DOM Level 2 - the DocumentImpl was just ahead
DOM Level 2. Take a look at org.w3c.Document

--
<person name="Ralf I. Pfeiffer"
 loc="IBM JTC, Cupertino, CA"
 email1="rpfeiffe@us.ibm.com"
 email2="rpfeiffe@apache.org"
/>



Mime
View raw message