The XML function xmlvalidate() checks the validity of a XML document.
xmlvalidate(xml_data_expression [option "optional_parameter"])
ASE T-SQL - Aggregate Functions, XML Functions.