Use the parse() method to convert and parse a raw text or image XML document and store the result. Use the alter table command to convert the raw XML document. For example:
alter table XMLTEXT add xmldoc IMAGE null update XMLTEXT set xmldoc = com.sybase.xml.xql.Xql.query.parse(xmlcol)
This example converts the xmlcol column of the XMLTEXT table to parsed data and stores it in the xmldoc column.