cdata.setLength(0); cdata.append(data);
if(cdata == null) cdata = new XMLString(data.toCharArray()); else cdata.setData(data.toCharArray(), 0, data.length());
    public void setData( String data ) throws DOMException {        cdata.setLength(0);        cdata.append(data);    }