我正在尝试使用C#中的
有什么想法是错的吗?
ReadXmlSchema
读取xsd文件,但在尝试读取xsd文件时遇到了问题。我收到了以下错误消息:实际上,xsd包含属性The 'use' attribute is not supported in this context.
use="required"
。<xs:attribute name="sch" type="xs:string" use="required"/>
DataSet ds = new DataSet();
ds.ReadXmlSchema(@"C:\Schema\Schema.xsd");
有什么想法是错的吗?