cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From MORÁVEK Peter <mora...@pobox.sk>
Subject RE: importing a org.w3c.dom.Document in another one
Date Fri, 10 Mar 2000 13:11:09 GMT
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