Is it possible to validate XML against an XSD in Silverlight 3?

喜欢而已 提交于 2019-12-24 03:15:44

问题


Is seems like all the commonly-used classes for XMLValidation, for example XmlValidatingReader, are absent (or present "for interface compatibility only") in Silverlight.

Is there any way to validate XML against an XSD schema in Silverlight?


回答1:


Sorry, but I still don't think this is still possible in SL3:

http://forums.silverlight.net/forums/p/53434/138536.aspx

If you really, really need to reuse a .NET assembly in SL you can do so, but it means packaging that up with your application. I don't recommend this, but details on how to do it can be found here: http://www.netfxharmonics.com/2008/12/Reusing-NET-Assemblies-in-Silverlight

Hope this helps.



来源:https://stackoverflow.com/questions/1435244/is-it-possible-to-validate-xml-against-an-xsd-in-silverlight-3

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!