Commit 21493e98 authored by Bastien Bascou's avatar Bastien Bascou

activites texte multimedia, definitions et sample

parent ba84cdd2
......@@ -102,6 +102,26 @@
<!-- if Section has sub section(s), we create a real activity to print differents possible types of sub sections -->
<xsl:template match="h:body/h:section/h:section">
<xsl:value-of select="./h:header/h:h1"/>
<xsl:if test="./h:section">
<xsl:apply-templates select="./*"/>
<!-- Toutes les introductions de sections sont transformés en résumé. -->
<xsl:template match="h:header/h:div[@data-hdoc-type = 'introduction']">
......@@ -113,6 +133,29 @@
<!-- Gestion des définitions. -->
<xsl:template match="h:div[@data-hdoc-type = 'definition']|h:div[@data-hdoc-type = 'example']">
<!-- <xsl:variable name="vtype" select="./@data-hdoc-type/text()"/>
<xsl:element name="{$vtype}">-->
<xsl:value-of select="./h:h6"/>
<xsl:if test="./h:p/text()">
<xsl:apply-templates select="./*"/>
<!-- Text related templates -->
<xsl:template match="h:p | h:ul | h:ol">
<xsl:if test="not(preceding-sibling::h:p)">
<map version="1.0.1">
<node ID="ID_1" TEXT="Framindmap To Canoprof">
<node ID="ID_5" POSITION="right" STYLE="fork" TEXT="#2 S&#233;ance 2">
<node ID="ID_6" POSITION="right" STYLE="fork" TEXT="#def D&#233;finition titre">
<node ID="ID_13" POSITION="right" STYLE="fork" TEXT="#p Definition contenu"/>
<node ID="ID_20" POSITION="right" STYLE="fork" TEXT="#ex Exemple titre">
<node ID="ID_27" POSITION="right" STYLE="fork" TEXT="#p Exemple contenu : En recherche du moyen de mettre tout les types de contenus similaires &#224; d&#233;finition dans le m&#234;me template"/>
<node ID="ID_4" POSITION="left" STYLE="fork" TEXT="#1 S&#233;ance 1">
<node ID="ID_29" POSITION="left" STYLE="fork" TEXT="#p Ici probl&#232;me, l'activit&#233; cr&#233;&#233;e devrait &#234;tre de type description courte"/>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment