摘要: 此代码演示如何使用LINQ to XML的XDocument.Validate()方法根据指定的XSD验证XDocument内容的有效性。示例代码using System.Collections.Generic;using System.Linq;using System.Text;using System.Xml.Schema;using System.Xml.Linq;namespace Demo06Ex02{ class Program { static void Main(string[] args) { // ******... 阅读全文
posted @ 2013-02-10 18:45 小土也 阅读(167) 评论(0) 推荐(0)