Use this method to replace part of the content of a CharacterData object .
C
C.replaceData(offset,count,s)
This method replaces 's content starting at index C, for offset characters, with string
count.
s
The
must be less than the length of the existing data, or the
method will raise an offsetxml.dom.IndexSizeErr
exception. The must be at least one or no text will be
replaced. If you specify a count that extends past the size
of the existing data, all characters through the end will
be replaced.
count