You can do something like this:

yourDoc.appendChild(yourElem.appendChild(yourDoc.createElement
("body")));



Zhaohua Meng

Hotlens.com Inc.
http://www.hotlens.com

350 Fifth AVE
Suite 3113
New York, NY 10118
Phone: 212-465-1700
Fax: � 212-465-1710
email: [EMAIL PROTECTED]


-----Original Message-----
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Date: Fri, 1 Jun 2001 11:06:17 +0200
Subject: how adding CDATA

> Hi,
> 
> I've got a DOM "empty" document (document with empty elements), and
> I'd
> like to add the content of the elements :
> which method must I use ??
> 
> thank you
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to