-
-
Save uncoded-ro/09570b8acd47ba83555ffab1b0e11d6a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!-- studenti3.xsd --> | |
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"> | |
<xsd:element name="studenti" type="studenti"/> | |
<xsd:complexType name="studenti"> | |
<xsd:choice minOccurs="0" maxOccurs="unbounded"> | |
<xsd:element name="student" type="student"/> | |
</xsd:choice> | |
</xsd:complexType> | |
<xsd:complexType name="student"> | |
<xsd:sequence> | |
<xsd:element name="nume"> | |
<xsd:complexType mixed="true"> | |
<xsd:choice minOccurs="0" maxOccurs="unbounded"> | |
<xsd:element name="prenume" type="xsd:string"/> | |
</xsd:choice> | |
</xsd:complexType> | |
</xsd:element> | |
<xsd:choice minOccurs="0" maxOccurs="unbounded"> | |
<xsd:element name="medie" type="xsd:decimal"/> | |
<xsd:element name="grupa" type="xsd:decimal"/> | |
</xsd:choice> | |
</xsd:sequence> | |
<xsd:attribute name="matricol" type="xsd:ID" use="required"/> | |
</xsd:complexType> | |
</xsd:schema> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment