<Schema xmlns="urn:schemas-microsoft-com:xml-data"
xmlns:dt="urn:schemas-microsoft-com:datatypes">
<AttributeType name="scale" default="4.0"/>
<ElementType name="GPA" content="textOnly" dt:type="float">
<attribute type="scale"/>
</ElementType>
<AttributeType name="studentID"/>
<ElementType name="student" content="eltOnly" model="open" order="many">
<attribute type="studentID"/>
<element type="GPA"/>
</ElementType>
</Schema>
我想生成给定的模式在C#类。我在网上查过XSD.exe 只能从W3C XML Schemas生成类。 是否可以将这种格式转换为W3C?
我是XSD新手,尝试重写它,但是发现了大量错误。 请帮忙。 由于提前
你想生成的类在运行时与反思,或输出'.CS'类使用从给定的计划? – LukeHennerley
@LukeHennerley我正在尝试生成.CS类,但XSD.exe表示只有W3C格式才能生成类。 – Akanksha