Commit 9d970a0c authored by Kapilraj Thangeswaran's avatar Kapilraj Thangeswaran

Mise à jour gestion exercice rédactionnel avec ajout de div question, description et solution

parent 738a5ace
......@@ -257,13 +257,29 @@
<header>
<xsl:apply-templates select="op:practUc/op:exeM/sp:title"/>
</header>
<div>
<xsl:value-of select="./*"/>
</div>
<xsl:apply-templates select="op:practUc/sp:desc"/>
<xsl:apply-templates select="op:practUc/sp:quest"/>
</section>
</xsl:template>
<xsl:template match="op:practUc/sp:desc">
<div data-hdoc-type="description">
<xsl:value-of select="*"/>
</div>
</xsl:template>
<xsl:template match="op:practUc/sp:quest">
<div data-hdoc-type="question">
<div data-hdoc-type="description">
<xsl:value-of select="op:practUcQ/sp:desc/*"/>
</div>
<xsl:if test="op:practUcQ/sp:sol">
<div data-hdoc-type="solution">
<xsl:value-of select="op:practUcQ/sp:sol/*"/>
</div>
</xsl:if>
</div>
</xsl:template>
<!-- ***** BLOCS START ***** -->
......
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