cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric SCHAEFFER" <eschaef...@posterconseil.com>
Subject Re: importing a org.w3c.dom.Document in another one
Date Fri, 10 Mar 2000 13:22:21 GMT
Thank's a lot.
I haven't seen this function. The only problem is that it only works with
Xerces (Non-DOM)....

Eric.

_______________________________________

Eric SCHAEFFER
eschaeffer@posterconseil.com

POSTER CONSEIL
118 rue de Tocqueville
75017 PARIS
FRANCE
Tel. : 33-140541058
Fax : 33-140541059
_______________________________________

----------------------------------------------------------------------------
-----------------------------
 Come to the first official Apache Software Foundation Conference!
-----------------------------------
http://ApacheCon.Com ------------------------------------

----- Original Message -----
From: MORÁVEK Peter <moravek@pobox.sk>
To: <cocoon-dev@xml.apache.org>
Sent: Friday, March 10, 2000 2:11 PM
Subject: RE: importing a org.w3c.dom.Document in another one


> Hi,
>
> I've encoutered the same error while writing my XSP files,
> which inserts elements from one document to another ...
>
> to solve this problem I've used Xerces 1.0.2 and
> Xalan 0.20.0 and method
>    "document.importNode(Node node, boolean deep)".
>
> try it ... maybe it will solve your problem
>
> Peter
>
> > -----Original Message-----
> > From: Eric SCHAEFFER [mailto:eschaeffer@posterconseil.com]
> > Sent: Friday, March 10, 2000 2:00 PM
> > To: cocoon-dev@xml.apache.org
> > Subject: importing a org.w3c.dom.Document in another one
> >
> >
> > Hi,
> >
> > I parse a file to create a DOM represention of its data (I
> > don't use Xerces
> > because it's not an XML file).
> > But if I create a Document instance, I can't insert it in
> > another Document
> > (I've got a wrong document error when I try to call the
> > appendChild method).
> >
> > How can I do this ?
> >
> >
> > Thank's
> > Eric.
> >
> > _______________________________________
> >
> > Eric SCHAEFFER
> > eschaeffer@posterconseil.com
> >
> > POSTER CONSEIL
> > 118 rue de Tocqueville
> > 75017 PARIS
> > FRANCE
> > Tel. : 33-140541058
> > Fax : 33-140541059
> > _______________________________________
> >
> > --------------------------------------------------------------
> > --------------
> > -----------------------------
> >  Come to the first official Apache Software Foundation Conference!
> > -----------------------------------
> > http://ApacheCon.Com ------------------------------------
> >
> >
>


Mime
View raw message