开发者

How to validate string against XML schema entry using .Net

开发者 https://www.devze.com 2022-12-20 09:34 出处:网络
I have a string (source string) and XML schema string. How do I val开发者_如何学JAVAidate this string against the schema entry? I do not need to validate whole XML document, just check if the string

I have a string (source string) and XML schema string.

How do I val开发者_如何学JAVAidate this string against the schema entry? I do not need to validate whole XML document, just check if the string matches the certain XML schema entry.

I found it extremely cumbersome to wrap the string to XML document and then validate against all the schema, is there more light approach?

0

精彩评论

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