Checking for Well formedness of a XML before preparing the document in SQL Server 2000
To my knowledge to convert the XML into relational form, sp_xml_preparedocument is the only way. One problem with this stored procedures is, it always assumes a well formed XML. If the input to this proc is badly formed then it throws an error and Error handling block can't catch it.