No errors, but no values being populated. Here is my current select:
<xsl:value-of select="preceding::Task[UID=current()/UID]/ID" />
I have an if statement above it:
<xsl:for-each select="Project/Tasks/Task">
...
..
Is it possible I have something wrong in my preceding path?
That was very helpful. Here is the "catch"
Not all tasks are adjacent to each other (preceeding). That UID could be referencing any task in the list technically. I believe it will always be somewhere before it though, if that helps.
IS there any way to choose the task that matches the UID...
Hi,
Just started learning XML/XSLT this week. Have the basics down, and I am stuck on how to match different element sets based on a shared UID between them.
So, I have exported a MS Project file as XML, and I am applying an XSLT file to it. The XSLT reads through each task and displays...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.