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
Changes in the Project 2007 XML Data Interchange Schema includes a list of new XML elements in Project 2007 and explains changes in XML data for custom fields.
Working with Project XML Data Interchange Files explains how to save and open projects in XML format and shows how to use XSLT transformations to create reports with Project XML data.
Project Data Interchange Elements includes an alphabetical list of elements and types and a reference for each main section of the Project 2007 XML Data Interchange Schema.
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 |
---|---|
boolean |
A Boolean value. Valid values are true (1) and false (0). |
dateTime |
Date and time data, provided in the format YYYY-MM-DDTHH:MM:SS. |
decimal |
An arbitrary precision number. |
duration |
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. |
float |
A single-precision, 32-bit floating point number. |
integer |
A sequence of decimal digits with an optional leading sign (+ or -). This data type is derived from decimal. |
string |
A character string. |
time |
Time data, provided in the format HH:MM:SS. |
TimephasedDataType |
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. |