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

Table of qandaset title entries

parent 40b585d6
No related branches found
No related tags found
No related merge requests found
This diff is collapsed.
......@@ -46,11 +46,11 @@
<chapter xml:id="chap2">
<title>More questions</title>
<qandaset>
<qandaset xml:id="q2">
<title>Second question</title>
<qandadiv>
<qandaentry xml:id="q2">
<qandaentry>
<question>
<para>My Second question</para>
</question>
......@@ -78,5 +78,11 @@
</qandadiv>
</qandaset>
</chapter>
<appendix xml:id="appendix">
<title>List of exercises</title>
<para>See <xref linkend="q2"/>.</para>
</appendix>
</part>
</book>
......@@ -65,10 +65,9 @@
<xsl:template match="db:part">
<xsl:copy>
<xsl:apply-templates select="@* | node()"/>
<!--
<appendix>
<title>
<xsl:text>Solutions exercises </xsl:text>
<xsl:text>List of exercise sets</xsl:text>
<xsl:value-of select="db:title" />
</title>
......@@ -80,13 +79,11 @@
<th>Exercise title / page</th>
<th>Status of completion</th>
</tr>
<xsl:for-each select=".//db:qandaset/db:qandadiv/db:qandaentry">
<xsl:for-each select=".//db:qandaset">
<tr>
<td>
<xref xrefstyle="template:%n, %t">
<xsl:attribute name="linkend">
<xsl:apply-templates select="." mode="hdmIdGenerate"/>
</xsl:attribute>
<xref xrefstyle="template:%n, %t" linkend="{@xml:id}">
<xsl:copy-of select="db:title/node()"/>
</xref>
</td>
<td/>
......@@ -94,7 +91,6 @@
</xsl:for-each>
</table>
</appendix>
-->
</xsl:copy>
</xsl:template>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment