开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜