XML-LibXML - Re: getting setData to work

Posted on Thu Jun 19 09:27:45 2008 by kevang in response to 8100 (See the whole thread of 4)
Re: getting setData to work
| Why there is no replaceTextNode() method escapes me.

Simple: Because an element may have more than one text node as a child. Consider

<p>This is <em>very</em> important.</p>


The p element has two next nodes, with the data "This is " and " important".
Direct Responses: 8104 | Write a response