Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <xsd:element name="struktura" type="struktura_typ"/>
- <xsd:complexType name="struktura_typ">
- <xsd:sequence>
- <xsd:element name="zaklad" type="zaklad_typ"/>
- <xsd:element name="pracownik" type="pracownik_typ"/>
- <xsd:element name="student" type="student_typ"/>
- </xsd:sequence>
- <xsd:complexType name="zaklad_typ">
- <xsd:sequence>
- <xsd:element name="nazwa" type="xsd:string"/>
- <xsd:element name="skrot" type="xsd:string"/>
- </xsd:sequence>
- <xsd:complexType name="pracownik_typ">
- <xsd:sequence>
- <xsd:element name="tytul">
- <xsd:simpleType>
- <xs:restriction base="xs:string">
- <xs:enumeration value="prof"/>
- <xs:enumeration value="dr"/>
- <xs:enumeration value="mgr"/>
- </xs:restriction>
- </xsd:simpleType>
- </xsd:element>
- <xsd:element name="nazwisko" type="xsd:string"/>
- <xsd:element name="imie" type="xsd:string"/>
- </xsd:sequence>
- <xsd:attribute name="zaklad" type="@key" use="required"/>
- </xsd:complexType>
- <xsd:complexType name="stuednt">
- <xsd:sequence>
- <xsd:element name="nazwisko type="xsd:string/>
- <xsd:element name="imie" type="xsd:string/>
- <xsd:element name="nrKonta">
- <xsd:simpleType>
- <xs:restriction base="xs:string">
- <xs:pattern value="[0-9]{3}-[0-9]{3}"/>
- </xs:restriction>
- </xsd:simpleType>
- </xsd:element>
- </xsd:sequence>
- <xsd:attribute name="kierunek" type="xsd:string" use="required"/>
- </xsd:complexType>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement