0
我一直在縮小一段時間,但找不到任何有關Microsoft提供的在this鏈接中提供的XML模式的教程或資源。它看起來像:差異黑白MS XML模式與XSD模式
<Schema xmlns="urn:schemas-microsoft-com:xml-data"
xmlns:dt="urn:schemas-microsoft-com:datatypes">
<AttributeType name='studentID' dt:type='string' required='yes'/>
<ElementType name='name' content='textOnly'/>
<ElementType name='GPA' content='textOnly' dt:type='float'/>
<ElementType name='student' content='mixed'>
<attribute type='studentID'/>
<element type='name'/>
<element type='GPA'/>
</ElementType>
<ElementType name='class' content='eltOnly'>
<element type='student'/>
</ElementType>
</Schema>
我知道這是不是一個W3C推薦的XSD格式...我面對困難知道如何閱讀和做一個標準格式XSD出來。我也希望從它生成C#類。
任何幫助,將不勝感激。它真的困惑了我對XML模式的理解。