Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Stephane Crozat
hdoc
Commits
9d970a0c
Commit
9d970a0c
authored
Dec 31, 2016
by
Kapilraj Thangeswaran
Browse files
Mise à jour gestion exercice rédactionnel avec ajout de div question, description et solution
parent
738a5ace
Changes
1
Hide whitespace changes
Inline
Side-by-side
opale_to_hdoc/xsl/opale_to_hdoc_regle2.xsl
View file @
9d970a0c
...
@@ -257,13 +257,29 @@
...
@@ -257,13 +257,29 @@
<header>
<header>
<xsl:apply-templates
select=
"op:practUc/op:exeM/sp:title"
/>
<xsl:apply-templates
select=
"op:practUc/op:exeM/sp:title"
/>
</header>
</header>
<div>
<xsl:apply-templates
select=
"op:practUc/sp:desc"
/>
<xsl:value-of
select=
"./*"
/>
<xsl:apply-templates
select=
"op:practUc/sp:quest"
/>
</div>
</section>
</section>
</xsl:template>
</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 ***** -->
<!-- ***** BLOCS START ***** -->
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment