Project

Profile

Help

Bug #4518 » office-calendar.xsd

Octavian Nadolu, 2020-04-14 09:30

 
1
<?xml version="1.0"?>
2
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
3
           elementFormDefault="qualified">
4

    
5
    <xs:element name="meeting">
6
        <xs:complexType>
7
            <xs:sequence>
8
                <xs:element name="start-time" type="xs:time" />
9
                <xs:element name="end-time" type="xs:time" />
10
                <xs:element name="room-number" type="xs:string" />
11
            </xs:sequence>
12
        </xs:complexType>
13
    </xs:element>
14

    
15
    <xs:element name="calendar">
16
        <xs:complexType>
17
            <xs:sequence>
18
                <xs:element ref="meeting" maxOccurs="unbounded" />
19
            </xs:sequence>
20
        </xs:complexType>
21
    </xs:element>
22

    
23
</xs:schema>
(2-2/2)