Posted on 2008-06-19 06:27:45-07 by kevang in response to 8100
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
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.