Commit 587c0dc9 authored by Charlotte luszcz's avatar Charlotte luszcz

add management of simulation, syntax, method and legal blocks

parent b646317b
...@@ -308,7 +308,7 @@ ...@@ -308,7 +308,7 @@
<!-- content Information : no microformat --> <!-- content Information : no microformat -->
<xsl:template match="sp:pb/op:pb/sp:info"> <xsl:template match="sp:pb/op:pb/sp:info">
<div> <div data-hdoc-type="information">
<xsl:apply-templates select="./op:pbTi/sp:title"/> <xsl:apply-templates select="./op:pbTi/sp:title"/>
<xsl:apply-templates select="op:res/*"/> <xsl:apply-templates select="op:res/*"/>
</div> </div>
...@@ -355,7 +355,7 @@ ...@@ -355,7 +355,7 @@
<xsl:apply-templates select="op:res/*"/> <xsl:apply-templates select="op:res/*"/>
</div> </div>
</xsl:template> </xsl:template>
<!-- content method : advice --> <!-- content method : method -->
<xsl:template match="sp:pb/op:pb/sp:meth"> <xsl:template match="sp:pb/op:pb/sp:meth">
<div data-hdoc-type="advice"> <div data-hdoc-type="advice">
<xsl:apply-templates select="./op:pbTi/sp:title"/> <xsl:apply-templates select="./op:pbTi/sp:title"/>
...@@ -376,21 +376,21 @@ ...@@ -376,21 +376,21 @@
<xsl:apply-templates select="op:res/*"/> <xsl:apply-templates select="op:res/*"/>
</div> </div>
</xsl:template> </xsl:template>
<!-- content syntax : complement -->
<!-- content syntax : no microformat (we lose this information) -->
<xsl:template match="sp:pb/op:pb/sp:syntax"> <xsl:template match="sp:pb/op:pb/sp:syntax">
<div> <div data-hdoc-type="information">
<xsl:apply-templates select="./op:pbTi/sp:title"/> <xsl:apply-templates select="./op:pbTi/sp:title"/>
<xsl:apply-templates select="op:res/*"/> <xsl:apply-templates select="op:res/*"/>
</div> </div>
</xsl:template> </xsl:template>
<!-- content legal : no microformat (we lose this information) --> <!-- content legal : complement -->
<xsl:template match="sp:pb/op:pb/sp:legal"> <xsl:template match="sp:pb/op:pb/sp:legal">
<div> <div data-hdoc-type="information">
<xsl:apply-templates select="./op:pbTi/sp:title"/> <xsl:apply-templates select="./op:pbTi/sp:title"/>
<xsl:apply-templates select="op:res/*"/> <xsl:apply-templates select="op:res/*"/>
</div> </div>
</xsl:template> </xsl:template>
<!-- content simulation : no microformat (we lose this information) --> <!-- content simulation : no microformat (we lose this information) -->
<xsl:template match="sp:pb/op:pb/sp:simul"> <xsl:template match="sp:pb/op:pb/sp:simul">
<div> <div>
......
...@@ -51,6 +51,7 @@ ...@@ -51,6 +51,7 @@
<value>advice</value> <value>advice</value>
<value>remind</value> <value>remind</value>
<value>method</value> <value>method</value>
<value>information</value>
<!-- quiz management --> <!-- quiz management -->
<value>question</value> <value>question</value>
<value>singlechoicequestion</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