To update a document, delete the original data and then insert the new data. The number of updates to a document or portion of a document are infrequent compared to the number of reads. An update is similar to:
update XMLDAT set xmldoc = com.sybase.xml.xql.Xql.parse("<xmldoc></xmldoc>")