I m in the process of converting a varchar(8000) field to an xml field in MSSQL 2005. Many of the XML docs have small issues (example: degree symbol not encoded). Is there a better way to validate the XML than a Try/Catch process?
也许我可以编写一个.NET存储过程。在.NET中验证(或使XML文档无效)的正确方法是什么? 可能我可以编写一个.NET存储过程。在.NET中验证(或使XML文档无效)的正确方法是什么?