Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
H
hdoc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
2
Merge Requests
2
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Stephane Crozat
hdoc
Commits
9d970a0c
Commit
9d970a0c
authored
Dec 31, 2016
by
Kapilraj Thangeswaran
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
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
Showing
1 changed file
with
20 additions
and
4 deletions
+20
-4
opale_to_hdoc/xsl/opale_to_hdoc_regle2.xsl
opale_to_hdoc/xsl/opale_to_hdoc_regle2.xsl
+20
-4
No files found.
opale_to_hdoc/xsl/opale_to_hdoc_regle2.xsl
View file @
9d970a0c
...
...
@@ -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 ***** -->
...
...
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