Commit 4f8df30b authored by Drain's avatar Drain

[Opale2Optim] Fixed issues with result's validity

parent 0bda662e
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
<!-- RNG --> <!-- RNG -->
<xsl:processing-instruction name="oxygen"> <xsl:processing-instruction name="oxygen">
RNGSchema="http://scenari.utc.fr/hdoc/schemas/xhtml/hdoc1-xhtml.rng" type="xml" RNGSchema="http://hdoc.crzt.fr/schemas/xhtml/hdoc1-xhtml.rng" type="xml"
</xsl:processing-instruction> </xsl:processing-instruction>
<!-- HTML --> <!-- HTML -->
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
<head> <head>
<xsl:apply-templates select="op:ueM/sp:title"/> <xsl:apply-templates select="op:ueM/sp:title"/>
<meta charset="utf-8"/> <meta charset="utf-8"/>
<meta generator="HdocConverter/Opale3.4"/> <meta content="HdocConverter/Opale3.4" name="generator"/>
<xsl:apply-templates select="op:ueM/sp:info"/> <xsl:apply-templates select="op:ueM/sp:info"/>
</head> </head>
...@@ -148,6 +148,18 @@ ...@@ -148,6 +148,18 @@
</section> </section>
</xsl:template> </xsl:template>
<!-- Aims (aims don't have metadata) -->
<xsl:template match="sp:obj">
<section>
<header>
<h1>Objectifs</h1>
</header>
<div>
<xsl:apply-templates select="./op:sTxt/*"/>
</div>
</section>
</xsl:template>
<!-- Introduction (a introduction doesn't have metadata) --> <!-- Introduction (a introduction doesn't have metadata) -->
<xsl:template match="sp:intro"> <xsl:template match="sp:intro">
<section data-hdoc-type="introduction"> <section data-hdoc-type="introduction">
...@@ -419,4 +431,10 @@ ...@@ -419,4 +431,10 @@
<!-- ***** TEXT END ***** --> <!-- ***** TEXT END ***** -->
<xsl:template match="op:res/sp:listing">
<p>
<xsl:value-of select="./op:code/sc:code"></xsl:value-of>
</p>
</xsl:template>
</xsl:stylesheet> </xsl:stylesheet>
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