MS Project 2002 or 2003 DTD

H

H?lia Pouyllau

Hi,

I'm looking for the DTD or XML Schema used to generate a project as an xml file.

I have downloaded the 2002 and 2003 SDK but it doesn't seem to be present.

Do you know if any XML data description is public or not ?

Thanks in advance for your response,

Best regards,
Hélia Pouyllau
J Lead architect
(e-mail address removed)
 
E

Earl Lewis

Helia,

It appears that M$ doesn't actually have a schema (that's public) for project XML files. If you look at an XML file generated by M$ project it has a namespace reference, but the URL doesn't actually refer to a real document, i.e. project.xsd.

Maybe you could find a tool that will generate a schema for you based on the XML of a project file? I'm pretty sure there are a few out there.

Earl
Hi,

I'm looking for the DTD or XML Schema used to generate a project as an xml file.

I have downloaded the 2002 and 2003 SDK but it doesn't seem to be present.

Do you know if any XML data description is public or not ?

Thanks in advance for your response,

Best regards,
Hélia Pouyllau
J Lead architect
(e-mail address removed)
 
E

Earl Lewis

Helia,

I found an online tool that does DTD and Schema generation based on an XML file. It's very cool! Try out this URL. http://www.hitsw.com/xml_utilites/

One suggestion I would have is that you save a minimal size project plan that has all your standard data elements completed with commonly used data. Make the plan show "Task 0" (the project summary) and use a summary task to group a few subtasks. The plan can be total nonsense from a real project perspective. All that's important is that it has all/most of the project XML elements included in it. Save it as an XML file and then go to the site I mentioned and generate either a DTD or schema file.

Earl
Helia,

It appears that M$ doesn't actually have a schema (that's public) for project XML files. If you look at an XML file generated by M$ project it has a namespace reference, but the URL doesn't actually refer to a real document, i.e. project.xsd.

Maybe you could find a tool that will generate a schema for you based on the XML of a project file? I'm pretty sure there are a few out there.

Earl
Hi,

I'm looking for the DTD or XML Schema used to generate a project as an xml file.

I have downloaded the 2002 and 2003 SDK but it doesn't seem to be present.

Do you know if any XML data description is public or not ?

Thanks in advance for your response,

Best regards,
Hélia Pouyllau
J Lead architect
(e-mail address removed)
 
L

Lars Hammarberg

You'll find the schema in the SDK.
It's not a single complete file, but split into usage modules (tasks,
assignments, timephased, etc) but it's no big thing to add them together.
Check out the "XML Schema Reference" section in the SDK under "References".
 
E

Earl Lewis

Lars,

Just for Helia's benefit and clarification - the schema that you're referring to is the PDS schema - correct?

The way I read the post I thought it was asking for a schema that defines a project data file when it's saved (or generated) as XML. These are obviously two very different things.

Could be that the question was directed at use of PDS. Guess I read it differently.

Earl
You'll find the schema in the SDK.
It's not a single complete file, but split into usage modules (tasks,
assignments, timephased, etc) but it's no big thing to add them together.
Check out the "XML Schema Reference" section in the SDK under "References".
 
L

Lars Hammarberg

No - I'm talking about the schema for the "save as XML" feature.

Some of the PDS methods use the same schema as far as I've been able to
figure out - the ProjectData for instance - but that's just a bonus in this
context...


--

/Lars Hammarberg
www.camako.se
MSProject Premier Partner
 
C

Cory K. Walker

PDS does not comply tag-by-tag with the Project XML schema, but does have a
subset of support for it.

For example, when creating a new project via the PDS, we might send the
following request:

<ProjectCreate>
<Project>
<ProjectName>Company Financial System.Published</ProjectName>
...
<Tasks>
....
</Tasks>
</Project>
</ProjectCreate>

However, the <ProjectName> tag is not valid according to the Project XML
schema. Instead, the XML schema specifies that just <Name> is used.

The <Tasks> tag does fully comply with the Project XML schema. As does the
resources and assignments XML structures.
 
L

Lars Hammarberg

Yes, I've seen similar discrepancies elsewhere, too!
It would be nice to have a complete PDS documentation - I mean, how hard
could it be to list the tags allowed? MS doesn't necessarily have to
describe the tags contents - we could probably figure them out from context.
Much better than by trial and error... :)
Some of the tags apparently correspond to field names in the OLEDB provider
and some correspond to field names in the database and a further set seems
to live a life of their own in the XML schema structure...
Oh, well...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top