Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Calendar Elements and XML Structure

Office 2007

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

This section contains information about children of the Calendars element defined in the Microsoft Office Project 2007 XML Data Interchange Schema (mspdi_pj12.xsd). The elements represent calendar data when you save a project in the XML format.

Calendars is a child of the Project element. For more information, see Project Elements and XML Structure.

The following shows the XML structure of the elements defined by the Calendar schema section of mspdi_pj12.xsd. The data type is indicated for those elements that require a text value. You can find more detailed information about valid text values for each element in the documentation annotations that are embedded in the XML Schema for the Calendars Element.

For more information about the data types used in the Project 2007 XML Data Interchange Schema, see Introduction to Project XML Data.

<Calendars>

    <Calendar>

        <UID>integer</UID>

        <Name>string</Name>

        <IsBaseCalendar>boolean</IsBaseCalendar>

        <BaseCalendarUID>integer</BaseCalendarUID>

        <WeekDays>

            <WeekDay>

                <DayType>integer</DayType>

                <DayWorking>boolean</DayWorking>

                <TimePeriod>

                    <FromDate>dateTime</FromDate>

                    <ToDate>dateTime</ToDate>

                </TimePeriod>

                <WorkingTimes>

                    <WorkingTime>

                        <FromTime>time</FromTime>

                        <ToTime>time</Time>

                    </WorkingTime>

                </WorkingTimes>

            </WeekDay>

        </WeekDays>

        <Exceptions>

            <Exception>

                <EnteredByOccurrences>boolean</EnteredByOccurrences>

                <TimePeriod>

                    <FromDate>dateTime</FromDate>

                    <ToDate>dateTime</ToDate>

                </TimePeriod>

                <Occurrences>integer</Occurrences>

                <Name>string</Name>

                <Type>integer</Type>

                <Period>integer</Period>

                <DaysOfWeek>integer</DaysOfWeek>

                <MonthItem>integer</MonthItem>

                <MonthPosition>integer</MonthPosition>

                <Month>integer</Month>

                <MonthDay>integer</MonthDay>

                <DayWorking>boolean</DayWorking>

                <WorkingTimes>

                    <WorkingTime>

                        <FromTime>time</FromTime>

                        <ToTime>time</ToTime>

                    </WorkingTime>

                </WorkingTimes>

            </Exception>

        </Exceptions>

        <WorkWeeks>   <!-- See note in the WorkWeeks and WorkWeek topics -->

            <WorkWeek>

                <TimePeriod>

                    <FromDate>dateTime</FromDate>

                    <ToDate>dateTime</ToDate>

                </TimePeriod>

                <Name>string</Name>

                <WeekDay>

                    <DayType>integer</DayType>

                    <DayWorking>boolean</DayWorking>

                </WeekDay>

            </WorkWeek>

        </WorkWeeks>

    </Calendar>

</Calendars>

Show:
© 2015 Microsoft