Which method exist in C# to validate an XML against XSD Schema using C# ?
C#中存在哪种方法来使用C#验证针对XSD Schema的XML?
One of this is using System.Xml, using System.Linq.
其中之一是使用System.Xin,使用System.Linq。
Which other validate methods exist?
还有哪些其他验证方法?
I look for the methods to derive examine the methods and use.
我寻找导出的方法检查方法和使用。
2 个解决方案
#1
0
Did you try validating using LINQ statements?
您是否尝试使用LINQ语句进行验证?
How to: Validate Using XSD (LINQ to XML)
如何:使用XSD验证(LINQ to XML)
#2
0
You have various options to deal with this
你有各种各样的选择来处理这个问题
- https://msdn.microsoft.com/en-us/library/bb387037.aspx
- https://msdn.microsoft.com/en-us/library/3740e0b5(v=vs.110).aspx
- http://www.codeproject.com/Articles/10444/Simple-code-to-validate-an-XML-file- against-a-sche
- http://www.c-sharpcorner.com/UploadFile/87b416/validating-an-xml-document-programmatically/
Please go through the above links.
请仔细阅读以上链接。
#1
0
Did you try validating using LINQ statements?
您是否尝试使用LINQ语句进行验证?
How to: Validate Using XSD (LINQ to XML)
如何:使用XSD验证(LINQ to XML)
#2
0
You have various options to deal with this
你有各种各样的选择来处理这个问题
- https://msdn.microsoft.com/en-us/library/bb387037.aspx
- https://msdn.microsoft.com/en-us/library/3740e0b5(v=vs.110).aspx
- http://www.codeproject.com/Articles/10444/Simple-code-to-validate-an-XML-file- against-a-sche
- http://www.c-sharpcorner.com/UploadFile/87b416/validating-an-xml-document-programmatically/
Please go through the above links.
请仔细阅读以上链接。