Introduction to Project XML Data

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.

Microsoft Office Project 2007 can save and import project data in an XML file for exchanging data with other applications. The Project 2007 XML Data Interchange Schema (mspdi_pj12.xsd) defines the XML elements used to represent Project 2007 data in XML format.

In This Section

Project Data Interchange Schema Reference Structure

The Project XML Data Interchange Schema Reference is structured into the following main sections:

Data Types

The XML elements defined in the Project Data Interchange Schema use the following data types for text values.

Table 1. Data types for text values

Data Type

Data Format


A Boolean value. Valid values are true (1) and false (0).


Date and time data, provided in the format YYYY-MM-DDTHH:MM:SS.


An arbitrary precision number.


A duration of time, provided in the format PnYnMnDTnHnMnS where nY represents the number of years, nM the number of months, nD the number of days, T the date/time separator, nH the number of hours, nM the number of minutes, and nS the number of seconds.

For example, to indicate a duration of 1 year, 2 months, 3 days, 10 hours, and 30 minutes, you write: P1Y2M3DT10H30M. You could also indicate a duration of minus 120 days as -P120D.


A single-precision, 32-bit floating point number.


A sequence of decimal digits with an optional leading sign (+ or -). This data type is derived from decimal.


A character string.


Time data, provided in the format HH:MM:SS.


A complex data type that contains information about a task, resource, or assignment that is distributed over time. The TimephasedData element is of this type.

See Also


Project Data Interchange Elements