<li>
<xsl:choose>
<xsl:when test="@file">
- <a href="../deliverables/{@file}.html">
- <xsl:value-of select="@file"/>
- </a>
+ <xsl:variable name="deliverable"
+ select="document(concat('../xml/deliverables/',@file,'.xml'))/deliverable"/>
+ <a name="{$deliverable/@id}"/>
+ <xsl:value-of select="$deliverable/@id"/>
+ <xsl:text> </xsl:text>
+ <xsl:value-of select="$deliverable/name"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="."/>
</xsl:for-each>
</ul>
<h2>Milestones and Expected Results:</h2>
- <xsl:copy-of select="milestone/*"/>
+ <xsl:copy-of select="milestones/*"/>
</xsl:template>
<xsl:template match="tasks">
</xsl:template>
<xsl:template match="task">
- <dt><xsl:value-of select="@name"/></dt>
+ <dt>
+ <a name="{@id}"/>
+ <xsl:value-of select="@id"/>
+ <xsl:text> </xsl:text>
+ <xsl:value-of select="name"/>
+ </dt>
<dd>
<xsl:copy-of select="*"/>
</dd>