Skip to content
Snippets Groups Projects
Commit 9f9c5a36 authored by Goik Martin's avatar Goik Martin
Browse files

List of exercises on <part> level having appropriate (inherited) <title>

parent f212973c
No related branches found
No related tags found
No related merge requests found
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
</xsl:template> </xsl:template>
<!-- Providing list of exercises --> <!-- Providing list of exercises -->
<xsl:template match="db:book"> <xsl:template match="db:book[not(db:part)]|db:part">
<xsl:copy> <xsl:copy>
<xsl:apply-templates select="@* | node()"/> <xsl:apply-templates select="@* | node()"/>
<xsl:if test=".//db:qandaset"> <xsl:if test=".//db:qandaset">
...@@ -62,8 +62,8 @@ ...@@ -62,8 +62,8 @@
<xref linkend="{current-grouping-key()}"/> <xref linkend="{current-grouping-key()}"/>
</td> </td>
</xsl:if> </xsl:if>
<td> <td>
<xsl:value-of select="db:title"/> <xsl:apply-templates select="." mode="selectOwnOrInheritedTitle"/>
</td> </td>
<td/> <!-- empty status of completion --> <td/> <!-- empty status of completion -->
</tr> </tr>
...@@ -92,7 +92,9 @@ ...@@ -92,7 +92,9 @@
<xsl:for-each select="descendant::db:qandaset"> <xsl:for-each select="descendant::db:qandaset">
<listitem> <listitem>
<para> <para>
<xref linkend="{@xml:id}"/> <link linkend="{@xml:id}">
<xsl:apply-templates select="." mode="selectOwnOrInheritedTitle"/>
</link>
</para> </para>
</listitem> </listitem>
</xsl:for-each> </xsl:for-each>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment