Justoverclock when do you want to replace the data?
Is it part of a migration feature that updates some data already in the database?
Something that edits text during save? => this can act on either the plain text or the XML version of the content
Something that edits text during rendering while leaving the original stored text intact? => this can act on either the XML version of the content or the rendered HTML