Skip to content
GitLab
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
5cc96907
Commit
5cc96907
authored
Jan 09, 2017
by
Esquilax76
Browse files
ajout section grain liés
parent
98f2dc72
Changes
1
Hide whitespace changes
Inline
Side-by-side
opale_to_hdoc/xsl/opale_to_hdoc_regle2.xsl
View file @
5cc96907
...
...
@@ -32,6 +32,14 @@
<!-- MODULE's COMPONENTS -->
<body>
<xsl:apply-templates
select=
"child::*[name() != 'op:ueM']"
/>
<section
data-hdoc-type=
"references"
>
<header>
<h1>
Liste des grains liés
</h1>
</header>
<li>
<xsl:apply-templates
mode=
"ref"
select=
".//sp:comp[op:pbTi/sp:title = 'Voir aussi']"
/>
</li>
</section>
</body>
</html>
</xsl:template>
...
...
@@ -536,5 +544,11 @@
</xsl:template>
<xsl:template
match=
"*"
/>
<xsl:template
mode=
"ref"
match=
"sp:comp[op:pbTi/sp:title = 'Voir aussi']"
>
<xsl:for-each
select=
"./op:res//sc:uLink"
>
<ul><xsl:value-of
select=
"."
/>
-
<xsl:value-of
select=
"./@sc:refUri"
/></ul>
</xsl:for-each>
</xsl:template>
</xsl:stylesheet>
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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