开发者

C#: Validate an XML string against Schemas. .NET 2.0

开发者 https://www.devze.com 2022-12-27 19:38 出处:网络
C# VB.NET 2.0 I have XML string object being sent to me. I have the location of the schemas (5 of them) that I need to validate this XML against.

C# VB.NET 2.0

I have XML string object being sent to me. I have the location of the schemas (5 of them) that I need to validate this XML against.

Most of the examples I see are .net 3.5, but not many on 2.0.

The XML String does NOT Declare what schemas to use, it only has the n开发者_运维技巧amespaces on a good handful of elements.

Thanks.


Have a look at XmlSchemaSet.

0

精彩评论

暂无评论...
验证码 换一张
取 消