I assume you want to append <Child/> in your example.  If this is the
case, you need to append it to the <Parent> element.  Element nodes can
have children; text nodes cannot. 

-----Original Message-----
From: Fribault, Arnaud [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 18, 2004 11:29 AM
To: [EMAIL PROTECTED]
Subject: DOMText & appendChild

Hi,

DOMText does not implement the DOMNodeImpl::appendChild method. I look
through the RFCs and cannot find any reason why.
For instance:

<Parent>text Child<Child/><Parent/>

will be parsed with no pb, but I can't create such an XML with the
current DOM implementation.

Am I missing something here ?

Thx,

Arnaud F.

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

Reply via email to