Download Fore_End/XML/src/cn/itcast/xml/schema/student.xsd from zxy0307/JavaWeb: direct link, hf CLI and curl.
- Browser
- Download file 1.45 kB
-
https://huggingface.co/zxy0307/JavaWeb/resolve/main/Fore_End/XML/src/cn/itcast/xml/schema/student.xsd
- Command line
-
hf download hf://zxy0307/JavaWeb/Fore_End/XML/src/cn/itcast/xml/schema/student.xsd
-
curl -L -o student.xsd https://huggingface.co/zxy0307/JavaWeb/resolve/main/Fore_End/XML/src/cn/itcast/xml/schema/student.xsd
1.45 kB
| <xsd:schema xmlns="http://www.itcast.cn/xml" | |
| xmlns:xsd="http://www.w3.org/2001/XMLSchema" | |
| targetNamespace="http://www.itcast.cn/xml" elementFormDefault="qualified"> | |
| <xsd:element name="students" type="studentsType"/> | |
| <xsd:complexType name="studentsType"> | |
| <xsd:sequence> | |
| <xsd:element name="student" type="studentType" minOccurs="0" maxOccurs="unbounded"/> | |
| </xsd:sequence> | |
| </xsd:complexType> | |
| <xsd:complexType name="studentType"> | |
| <xsd:sequence> | |
| <xsd:element name="name" type="xsd:string"/> | |
| <xsd:element name="age" type="ageType" /> | |
| <xsd:element name="sex" type="sexType" /> | |
| </xsd:sequence> | |
| <xsd:attribute name="number" type="numberType" use="required"/> | |
| </xsd:complexType> | |
| <xsd:simpleType name="sexType"> | |
| <xsd:restriction base="xsd:string"> | |
| <xsd:enumeration value="male"/> | |
| <xsd:enumeration value="female"/> | |
| </xsd:restriction> | |
| </xsd:simpleType> | |
| <xsd:simpleType name="ageType"> | |
| <xsd:restriction base="xsd:integer"> | |
| <xsd:minInclusive value="0"/> | |
| <xsd:maxInclusive value="256"/> | |
| </xsd:restriction> | |
| </xsd:simpleType> | |
| <xsd:simpleType name="numberType"> | |
| <xsd:restriction base="xsd:string"> | |
| <xsd:pattern value="heima_\d{4}"/> | |
| </xsd:restriction> | |
| </xsd:simpleType> | |
| </xsd:schema> | |