Project 2003 XML Question

B

Briony

Hi,
I am trying to build an XML report which shows the status of summary tasks
in my Project.

I have built a customer field using Number1 called PriorityTL, which has
values:
0 - None
1 - Red
2 - Amber
3 - Green
I have assigned these to graphical indicators and that is all working well
in my project.

What I want to do now is build an XML report which will show 4 tables (None,
Red, Amber, Green) and place the tasks inside depending on their PriorityTL.

1. How do I display only Summary Tasks?
<xsl:for-each select="Project/Tasks/Task">
<xsl:if test="Summary[.=1]">
This code will show ALL tasks including summary tasks, but I just want the
summary tasks, not the detail.

2. How do I display only the "Red" tasks?
<xsl:if test="PriorityTL"[.=0/1/2/3]"> doesnt seem to work
<xsl:if test="Number1"[.=0/1/2/3]"> doesnt seem to work either

I think I probably have both the name (PriorityTL or Number1) wrong and the
value (0/1/2/3 vs none, red, amber, green) wrong but I'm not sure.

Thanks for any help!
 
M

Mike Glen

Hi Briony,

You don't seem to have had a reply on this newsgroup. I suggest you try
posting on the developer newsgroup. Please see FAQ Item: 24. Project
Newsgroups. FAQs, companion products and other useful Project information
can be seen at this web address: http://project.mvps.org/faqs.htm

Mike Glen
Project MVP
 

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