Commit c0f99887 authored by Neveux Anais's avatar Neveux Anais

Add method and remind on hdoc_to_opale and hdoc schemas, add remind and method on canoprof_to_opale

parent 8cc8cc2a
......@@ -299,12 +299,18 @@
<!-- Gestion methode -->
<xsl:template match="sp:method">
<!-- TODO -->
<div data-hdoc-type='method'>
<h6><xsl:value-of select="cp:block/cp:blockM/sp:title"/></h6>
<xsl:apply-templates select="cp:block/sp:body/cp:flow/sp:txt/cp:txt//sc:para"/>
</div>
</xsl:template>
<!-- Gestion rappel -->
<xsl:template match="sp:reminder">
<!-- TODO -->
<div data-hdoc-type='remind'>
<h6><xsl:value-of select="cp:block/cp:blockM/sp:title"/></h6>
<xsl:apply-templates select="cp:block/sp:body/cp:flow/sp:txt/cp:txt//sc:para"/>
</div>
</xsl:template>
<!-- ******** FIN ACTIVITE TETM ********** -->
......
......@@ -382,6 +382,34 @@
</op:res>
</sp:adv>
</xsl:when>
<xsl:when test="./@data-hdoc-type = 'method'">
<sp:meth>
<op:pbTi>
<xsl:if test="string-length(./h:h6/text()) > 0">
<sp:title>
<xsl:value-of select="./h:h6"/>
</sp:title>
</xsl:if>
</op:pbTi>
<op:res>
<xsl:apply-templates select="./*"/>
</op:res>
</sp:meth>
</xsl:when>
<xsl:when test="./@data-hdoc-type = 'remind'">
<sp:remind>
<op:pbTi>
<xsl:if test="string-length(./h:h6/text()) > 0">
<sp:title>
<xsl:value-of select="./h:h6"/>
</sp:title>
</xsl:if>
</op:pbTi>
<op:res>
<xsl:apply-templates select="./*"/>
</op:res>
</sp:remind>
</xsl:when>
<xsl:otherwise>
<sp:info>
<op:pbTi>
......
......@@ -46,6 +46,8 @@
<value>remark</value>
<value>warning</value>
<value>advice</value>
<value>remind</value>
<value>method</value>
<!-- quiz management -->
<value>question</value>
<value>singlechoicequestion</value>
......
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