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
c0f99887
Commit
c0f99887
authored
Jan 01, 2017
by
Neveux Anais
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add method and remind on hdoc_to_opale and hdoc schemas, add remind and method on canoprof_to_opale
parent
8cc8cc2a
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
38 additions
and
2 deletions
+38
-2
canoprof_to_hdoc/xsl/programmation.xsl
canoprof_to_hdoc/xsl/programmation.xsl
+8
-2
canoprof_to_opale/sample/Rappel_Methode.scar
canoprof_to_opale/sample/Rappel_Methode.scar
+0
-0
hdoc_to_opale/xsl/transformation2.xsl
hdoc_to_opale/xsl/transformation2.xsl
+28
-0
schemas/xhtml/type.rng
schemas/xhtml/type.rng
+2
-0
No files found.
canoprof_to_hdoc/xsl/programmation.xsl
View file @
c0f99887
...
...
@@ -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 ********** -->
...
...
canoprof_to_opale/sample/Rappel_Methode.scar
0 → 100644
View file @
c0f99887
File added
hdoc_to_opale/xsl/transformation2.xsl
View file @
c0f99887
...
...
@@ -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>
...
...
schemas/xhtml/type.rng
View file @
c0f99887
...
...
@@ -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>
...
...
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