File: pjxml_schCalendar.htm

package info (click to toggle)
office2003-schemas 1.0%2Bds-1
  • links: PTS, VCS
  • area: non-free
  • in suites: bookworm, forky, sid, trixie
  • size: 42,304 kB
  • sloc: javascript: 2,429; makefile: 29
file content (175 lines) | stat: -rw-r--r-- 14,830 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
<html dir="ltr"><head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<META HTTP-EQUIV="assetid" CONTENT="HV01051053"><META NAME="lcid" CONTENT="1033"><title>XML Schema for the &lt;Calendar&gt; Element</title><link rel="stylesheet" type="text/css" href="office10.css"><script type="text/javascript" language="Javascript" src="ExpCollapse.js"></script><script type="text/javascript" language="JavaScript" src="inline.js"></script></head><body><p id="ExpandAllLine" class="ExpFav"><a href="#" onclick="ExpandAll()" onkeypress="ExpandAll()" class="DropDown"><img id="picHeader" border="0" src="expandtri.gif" alt="Show All"><span id="ExpandAll">Show All</span></a></p><h1>XML Schema for the &lt;Calendar&gt; Element</h1><p>The following shows the &lt;Calendar&gt; element schema for Microsoft Office Project 2003. This is a child of the &lt;Project&gt; schema.</p>
			<p><a href="#" class="DropDown" onclick="Outline2()" onkeypress="Outline2()"><img border="0" src="blueup.gif" alt="Show">See Also</a></p>
			<div id="ExpCol" class="collapsed" border="0">
				<a href="pjxml_schema.htm" id="HV01051088" lcid=" ">Overview of XML Schema for Project</a><br>
				<a href="pjxml_structure.htm" id="HV01051032" lcid=" ">Overview of XML Structure for Project</a><br>
				<a href="pjxml_schProject.htm" id="HV01051022" lcid=" ">XML Schema for the &lt;Project&gt; Element</a><br>
				<p><a href="pjxml_structCalendar.htm" id="HV01051054" lcid=" ">XML Structure for the &lt;Calendar&gt; Element</a><br>
					<a href="pjxml_elemCalendars.htm" id="HV01056661" lcid=" ">&lt;Calendars&gt; Element</a></p>
			</div>
		<pre><code>&lt;?xml version="1.0"?&gt;
    ...
&lt;!-- @Calendar schema --&gt;
&lt;xsd:element name="Calendars" minOccurs="0"&gt;
    &lt;xsd:annotation&gt;
        &lt;xsd:documentation&gt;The collection of calendars that is associated with the 
        project.&lt;/xsd:documentation&gt;
    &lt;/xsd:annotation&gt;
    &lt;xsd:complexType&gt;
        &lt;xsd:sequence&gt;
            &lt;xsd:element name="Calendar" minOccurs="1" maxOccurs="unbounded"&gt;
                &lt;xsd:annotation&gt;
                    &lt;xsd:documentation&gt;Calendars are used to define standard working and 
                    non-working times. Projects must have one base calendar. Tasks and resources 
                    may have their own non-base calendars which are based on a base calendar.
                    &lt;/xsd:documentation&gt;
                &lt;/xsd:annotation&gt;
                &lt;xsd:complexType&gt;
                    &lt;xsd:sequence&gt;
                        &lt;xsd:element name="UID" type="xsd:integer"&gt;
                            &lt;xsd:annotation&gt;
                                &lt;xsd:documentation&gt;The unique identifier of the calendar.
                                &lt;/xsd:documentation&gt;
                            &lt;/xsd:annotation&gt;
                        &lt;/xsd:element&gt;
                        &lt;xsd:element name="Name" minOccurs="0"&gt;
                            &lt;xsd:annotation&gt;
                                &lt;xsd:documentation&gt;The name of the calendar.&lt;/xsd:documentation&gt;
                            &lt;/xsd:annotation&gt;
                            &lt;xsd:simpleType&gt;
                                &lt;xsd:restriction base="xsd:string"&gt;
                                    &lt;xsd:maxLength value="512" /&gt;
                                &lt;/xsd:restriction&gt;
                            &lt;/xsd:simpleType&gt;
                        &lt;/xsd:element&gt;
                        &lt;xsd:element name="IsBaseCalendar" type="xsd:boolean" minOccurs="0"&gt;
                            &lt;xsd:annotation&gt;
                                &lt;xsd:documentation&gt;Whether the calendar is a base calendar.
                                &lt;/xsd:documentation&gt;
                            &lt;/xsd:annotation&gt;
                        &lt;/xsd:element&gt;
                        &lt;xsd:element name="BaseCalendarUID" type="xsd:integer" minOccurs="0"&gt;
                            &lt;xsd:annotation&gt;
                                &lt;xsd:documentation&gt;The unique identifier of the base calendar 
                                on which this calendar depends. Only applicable if the calendar is 
                                not a base calendar.&lt;/xsd:documentation&gt;
                            &lt;/xsd:annotation&gt;
                        &lt;/xsd:element&gt;
                        &lt;xsd:element name="WeekDays" minOccurs="0"&gt;
                            &lt;xsd:annotation&gt;
                                &lt;xsd:documentation&gt;The collection of Weekdays that defines this calendar.
                                &lt;/xsd:documentation&gt;
                            &lt;/xsd:annotation&gt;
                            &lt;xsd:complexType&gt;
                                &lt;xsd:sequence&gt;
                                    &lt;xsd:element name="WeekDay" minOccurs="0" maxOccurs="unbounded"&gt;
                                        &lt;xsd:annotation&gt;
                                            &lt;xsd:documentation&gt;A weekday either defines regular days 
                                            of the week or exception days in the calendar.&lt;/xsd:documentation&gt;
                                        &lt;/xsd:annotation&gt;
                                        &lt;xsd:complexType&gt;
                                            &lt;xsd:sequence&gt;
                                                &lt;xsd:element name="DayType" minOccurs="1"&gt;
                                                     &lt;xsd:annotation&gt;
                                                         &lt;xsd:documentation&gt;The type of day. 
                                                         Values are: 0=Exception, 1=Monday, 2=Tuesday, 
                                                         3=Wednesday, 4=Thursday, 5=Friday, 6=Saturday, 
                                                         7=Sunday&lt;/xsd:documentation&gt;
                                                     &lt;/xsd:annotation&gt;
                                                     &lt;xsd:simpleType&gt;
                                                         &lt;xsd:restriction base="xsd:integer"&gt;
                                                             &lt;xsd:enumeration value="0" /&gt;
                                                             &lt;xsd:enumeration value="1" /&gt;
                                                             &lt;xsd:enumeration value="2" /&gt;
                                                             &lt;xsd:enumeration value="3" /&gt;
                                                             &lt;xsd:enumeration value="4" /&gt;
                                                             &lt;xsd:enumeration value="5" /&gt;
                                                             &lt;xsd:enumeration value="6" /&gt;
                                                             &lt;xsd:enumeration value="7" /&gt;
                                                         &lt;/xsd:restriction&gt;
                                                     &lt;/xsd:simpleType&gt;
                                                &lt;/xsd:element&gt;
                                                &lt;xsd:element name="DayWorking" type="xsd:boolean" minOccurs="0"&gt;
                                                     &lt;xsd:annotation&gt;
                                                         &lt;xsd:documentation&gt;Whether the specified date or day 
                                                         type is working.&lt;/xsd:documentation&gt;
                                                     &lt;/xsd:annotation&gt;
                                                &lt;/xsd:element&gt;
                                                &lt;xsd:element name="TimePeriod" minOccurs="0"&gt;
                                                     &lt;xsd:annotation&gt;
                                                         &lt;xsd:documentation&gt;Defines a contiguous set of exception days.
                                                         &lt;/xsd:documentation&gt;
                                                     &lt;/xsd:annotation&gt;
                                                     &lt;xsd:complexType&gt;
                                                         &lt;xsd:sequence&gt;
                                                             &lt;xsd:element name="FromDate" type="xsd:dateTime" minOccurs="0"&gt;
                                                                 &lt;xsd:annotation&gt;                                                             
                                                                     &lt;xsd:documentation&gt;The beginning of the exception time.
                                                                     &lt;/xsd:documentation&gt;
                                                                 &lt;/xsd:annotation&gt;
                                                             &lt;/xsd:element&gt;
                                                             &lt;xsd:element name="ToDate" type="xsd:dateTime" minOccurs="0"&gt;
                                                                 &lt;xsd:annotation&gt;
                                                                     &lt;xsd:documentation&gt;The end of the exception time.
                                                                     &lt;/xsd:documentation&gt;
                                                                 &lt;/xsd:annotation&gt;
                                                             &lt;/xsd:element&gt;
                                                         &lt;/xsd:sequence&gt;
                                                     &lt;/xsd:complexType&gt;
                                                &lt;/xsd:element&gt;
                                                &lt;xsd:element name="WorkingTimes" minOccurs="0"&gt;
                                                     &lt;xsd:annotation&gt;
                                                         &lt;xsd:documentation&gt;The collection of working times that define the time worked 
                                                         on the weekday.  One of these must be present, and there may be no more than five.
                                                         &lt;/xsd:documentation&gt;
                                                     &lt;/xsd:annotation&gt;
                                                     &lt;xsd:complexType&gt;
                                                         &lt;xsd:sequence&gt;
                                                             &lt;xsd:choice&gt;
                                                                 &lt;xsd:element name="WorkingTime" minOccurs="0" maxOccurs="5"&gt;
                                                                     &lt;xsd:annotation&gt;
                                                                         &lt;xsd:documentation&gt;Defines the working time during the weekday.
                                                                         &lt;/xsd:documentation&gt;
                                                                     &lt;/xsd:annotation&gt;
                                                                     &lt;xsd:complexType&gt;
                                                                         &lt;xsd:sequence&gt;
                                                                             &lt;xsd:element name="FromTime" type="xsd:time" minOccurs="0"&gt;
                                                                                 &lt;xsd:annotation&gt;
                                                                                     &lt;xsd:documentation&gt;The beginning of the working time.
                                                                                     &lt;/xsd:documentation&gt;
                                                                                 &lt;/xsd:annotation&gt;
                                                                             &lt;/xsd:element&gt;
                                                                             &lt;xsd:element name="ToTime" type="xsd:time" minOccurs="0"&gt;
                                                                                 &lt;xsd:annotation&gt;
                                                                                     &lt;xsd:documentation&gt;The end of the working  time.
                                                                                     &lt;/xsd:documentation&gt;
                                                                                 &lt;/xsd:annotation&gt;
                                                                             &lt;/xsd:element&gt;
                                                                         &lt;/xsd:sequence&gt;
                                                                     &lt;/xsd:complexType&gt;
                                                                 &lt;/xsd:element&gt;
                                                             &lt;/xsd:choice&gt;
                                                         &lt;/xsd:sequence&gt;
                                                     &lt;/xsd:complexType&gt;
                                                &lt;/xsd:element&gt;
                                            &lt;/xsd:sequence&gt;
                                        &lt;/xsd:complexType&gt;
                                    &lt;/xsd:element&gt;
                                &lt;/xsd:sequence&gt;
                            &lt;/xsd:complexType&gt;
                        &lt;/xsd:element&gt;
                    &lt;/xsd:sequence&gt;
                &lt;/xsd:complexType&gt;
            &lt;/xsd:element&gt;
        &lt;/xsd:sequence&gt;
    &lt;/xsd:complexType&gt;
&lt;/xsd:element&gt;
</code></pre><center><a href="XMLSchemaCopyright_HV01147162.htm">&copy;2003-2004 Microsoft Corporation. All rights reserved.</a>  

Permission to copy, display and distribute this document is available at: <a 

href="http://r.office.microsoft.com/r/rlidAWSContentRedir?AssetID=XT010988631033&amp;CTT=11&amp;Origin=HV011232471033" 

target="_new">http://msdn.microsoft.com/library/en-us/odcXMLRef/html/odcXMLRefLegalNotice.asp</a></center></body></html>