<?xml version="1.0" encoding="UTF-8"?>
<teaching-plan xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="hr.xsd">
<course>
<course-name>英语</course-name>
<class-hour>36</class-hour>
<exam-form>考试</exam-form>
</course>
<course>
<course-name>高等数学</course-name>
<class-hour>70</class-hour>
<exam-form>考试</exam-form>
</course>
<course>
<course-name>计算机应用基础</course-name>
<class-hour>108</class-hour>
<exam-form>上机考试</exam-form>
</course>
</teaching-plan>
<?xml version="1.0" encoding="UTF-8"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema">
<element name = "teaching-plan">
<complexType>
<sequence>
<element name="course" minOccurs="1" maxOccurs="100">
<complexType>
<sequence>
<element name="course-name" type="string"></element>
<element name="class-hour">
<simpleType>
<restriction base="integer">
<minInclusive value="20"></minInclusive>
<maxInclusive value="110"></maxInclusive>
</restriction>
</simpleType>
</element>
<element name="exam-form" type="string"></element>
</sequence>
</complexType>
</element>
</sequence>
</complexType>
</element>
恭喜解决一个难题,获得1积分~
来为老师/同学的回答评分吧
0 星