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

Providing section @id values

parent e4d12702
Branches
No related tags found
No related merge requests found
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
<div class="reveal"> <div class="reveal">
<!-- Wrap all slides in a single "slides" class --> <!-- Wrap all slides in a single "slides" class -->
<div class="slides"> <div class="slides">
<section> <section id="{@xml:id}">
<!-- <!--
<xsl:apply-templates select="*[not(name(.)='db:section')]"/> <xsl:apply-templates select="*[not(name(.)='db:section')]"/>
--> -->
...@@ -47,6 +47,8 @@ ...@@ -47,6 +47,8 @@
progress: true, progress: true,
history: true, history: true,
center: true, center: true,
width: '80%',
height: '80%',
transition: 'slide', // none/fade/slide/convex/concave/zoom transition: 'slide', // none/fade/slide/convex/concave/zoom
...@@ -67,12 +69,12 @@ ...@@ -67,12 +69,12 @@
</xsl:template> </xsl:template>
<xsl:template match="d:section"> <xsl:template match="d:section">
<section> <section id="{@xml:id}">
<xsl:apply-templates/> <xsl:apply-templates/>
</section> </section>
</xsl:template> </xsl:template>
<xsl:template match="d:section/d:title"> <xsl:template match="d:chapter/d:title|d:section/d:title">
<h3> <h3>
<xsl:value-of select="."/> <xsl:value-of select="."/>
</h3> </h3>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment