]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/mowgli/home/xsl/work-package.xsl
DTD improved (and committed) with new elements "task" and "tasks".
[helm.git] / helm / mowgli / home / xsl / work-package.xsl
index b6bc9347f817c1ee01d9fa5d10819da187ed5d06..7dd7e93f92cf0dd3bab19b6bf5805de34714c410 100644 (file)
@@ -49,7 +49,7 @@
  <h2>Objectives:</h2>
  <xsl:copy-of select="objectives/*"/>
  <h2>Description:</h2>
- <xsl:copy-of select="description/*"/>
+ <xsl:apply-templates select="description/*"/>
  <h2>Deliverables:</h2>
  <ul>
   <xsl:for-each select="deliverable">
  <xsl:copy-of select="milestone/*"/>
 </xsl:template>
 
+<xsl:template match="tasks">
+ <dl>
+  <xsl:apply-templates/>
+ </dl>
+</xsl:template>
+
+<xsl:template match="task">
+ <dt><xsl:value-of select="@name"/></dt>
+ <dd>
+  <xsl:copy-of select="*"/>
+ </dd>
+</xsl:template>
+
+<xsl:template name="p|ul|dl">
+ <xsl:copy-of select="."/>
+</xsl:template>
+
 </xsl:stylesheet>