StringBuffer buf = cdata.getString(); buf.insert( offset, arg ); cdata.setLength(0); cdata.append(buf);
if(cdata == null) cdata = new XMLString(arg.toCharArray()); else cdata.insert(offset, arg);
    public void insertData( int offset, String arg ) throws DOMException {        StringBuffer buf = cdata.getString();        buf.insert( offset, arg );        cdata.setLength(0);        cdata.append(buf);    }